Is it possible to set a form section to default on a form ?

pluurenvanj
Giga Contributor

Dear all,

We upgraded to Geneva last january. Since then it is not possible to collapse the contents of the activity log on, for instance, the incident form. Result of this is that in an Incident with a large history, you will have to scroll through all of the activity log, unless you change it to another tab.

Is it possible to make the first tab default on every load of a new record ? That way we can select a tab that does not contain much fields in order to make scrolling through the form unneccesary.

I already tried changing the order on the tabs, but browser cache remembers the tab which you selected last.

Can anyone advise me on this ?

Regards,

Jeroen

5 REPLIES 5

ghsrikanth
Tera Guru

Hi,



You can always go for Tabbed forms - There is User preference in the settings gear icon for Tabbed forms -


Display tabbed forms



Screen Shot 2016-03-22 at 9.13.34 PM.png




Hopefully it helps


alexandrepitt
Giga Contributor

Have you found a solution about this? Because me too, i wonder if it is possible to make the first tab default on every load.



thanks!


Regards,



Create a onload client script.



function onLoad() {


      // Set "Notes" tab as visible


      g_form.activateTab("notes");


}


alexandrepitt
Giga Contributor

Try this:


g_tabs2Sections.setActive(0);



In this case, the first tab section will be the default.