We have a business requirement on the case form to change the tab focus when a specific field changes... The catch is this field is on a contact form that we are using the built in control to display on the case form. I have this code but I am unsure how we can get the code to read to the case form when the contact field is modified... Any help would be greatly appreciated! Thank you!
function FocusOnTab(executionContext) {
var formContext = executionContext.getFormContext();
formContext.ui.tabs.get(/general/).setFocus();
}