How can we disable tabs in a form, retaining the sections vertically.

varunkumar1
Tera Contributor

Hi,

I have sections added in a custom form say 'Sample Test' and I see that sections are appearing in tabs format.

find_real_file.png

But, I would like them to be shown not in tabs format but in vertical fashion as shown below. I see that there is an option in the system gear menu to disable Tabbed Forms. By disabling this option, it is going to take effect on all the forms.

But I want to disable the tabs only on my custom form. Please let me know how can we achieve this.

find_real_file.png

7 REPLIES 7

vinothkumar
Tera Guru

Hi Dhileep,



Delete the section that you don't want in the form layout by following the below steps and add the fields under that section in the form layout by configuing form layout.



  1. Navigate to System UI > Form Sections.
  2. Select the form that contains the section you want to delete. For example, the Incident form. The name of the form section to be deleted should be displayed in the Caption field.
  3. From the Actions on selected rows menu, select Delete.
  4. Click OK to confirm the deletion.


To configure the form,



Right-click the form header and select the appropriate option for your version and select Configure > Form Layout


Hi Vonath,



My intension here is not to delete the sections from the form, but to retain the sections in vertical view as shown in the starting post. The picture is shown below. Please suggest if you have any ideas.


find_real_file.png


saidinesh
Tera Expert
Hi,
 
Use the below functions to activate or deactivate 
 
g_tabs2Sections.deactivate(); //Deactivate form tabs
g_tabs2Sections.activate(); //Activate form tabs
g_tabs2List.deactivate(); //Deactivate list tabs
g_tabs2List.activate(); //Activate list tabs
 
 
For you it is g_tabs2Sections.deactivate(); in client script on load
 
Thanks
Sai Dinesh