Custom Tabs: Move other fields above tabs

Using custom tabs allows you to group and organize fields by moving them into tab pages. Learn how to move remaining fields above the newly created tabs.

By design the custom tabs will be placed at the top of the detail view. Remaining fields will stay at ther original position below the newly created tabstrip.

Fields "Kreditor" and "Debitor" are placed below the tabstrip

If you want remaining fields to be placed above the tabstrip, you can use the following line of javascript code which moves the tab below the remaining fields.

// file: hooks/TABLENAME-dv.js
$j("#appginihelper-detailview-tabs").prepend("<hr/>").appendTo($j("fieldset"));

If you don't want the additional separator line above the tabstrip but only a small gap, try this:

$j("#appginihelper-detailview-tabs").prepend("<p/>").appendTo($j("fieldset"));

Do you like it?