Page 1 of 1

New Form and add related items

Posted: 13 Jun 2017
by TWendt
Hi all,
i have a new form with a tab control. When i open the form, the first tab is selected.
$('#fd_tabcontrol-0').tabs('option', 'active', 0);

If i add on the third tab a related item, the form change to the first tab.

Is it possible, when i add an item, the third tab is the default tab?

Best wishes
Tom

Re: New Form and add related items

Posted: 13 Jun 2017
by Dmitry Kozlov
Hi Tom,
Just remove your code and each time a user opens a form, the last opened tab will be selected by default :
$('#fd_tabcontrol-0').tabs('option', 'active', 0);