{formbreaktop:part_name1:part_name2:...}

Description

Splits the item edit form into tabbed parts and places the row of tab buttons above the form. Put it in a field's Before-input HTML where one part should end and the next begin; everything after it (until the next break or the form end) becomes the next tab. The colon-separated arguments name the tabs - the first names the tab the break closes, the rest name following tabs (handy for the last tab, which has no break of its own). It is a layout-only marker: it prints nothing into the form body and has no effect outside the item editor. formbreaktop, formbreakbottom and plain formbreak differ only in where the tab bar is drawn (top, bottom, or both); see formpart for the running part number.

Parameters

part_name1, part_name2, ... optional default auto labels Part 1, Part 2, ...

Tab labels, separated by colons. The first labels the tab this break closes; each further name labels a following tab (useful for naming the final tab, which has no break of its own). Omit them to fall back to auto labels (Part 1, Part 2, ...). The argument list is variadic - pass as many names as there are tabs to label.

Examples

test[{formbreaktop:Media}]
Expected[]
Actual[]
formbreaktop prints nothing into the form body - it only marks where a tab ends and tells the editor to draw the tab bar at the top. The brackets show the output is empty. Its visible effect (the tab bar) appears only inside the item editor, not in views or on a page.
test[{formbreaktop:Photos:Videos:Notes}]
Expected[]
Actual[]
The arguments are colon-separated tab labels. Photos names the tab this break closes; Videos and Notes name the next two tabs. Naming following tabs here is the usual way to label the last tab, which has no break of its own. The output is still empty - only the labels are registered for the editor.
virtual{formbreaktop:Basics:Media}
Expected(empty output; in the item editor the form gains a Basics and a Media tab, with the tab bar at the top)
Place this in the Before-input HTML of the first field of the Media part. Everything before it becomes the Basics tab; everything from there on becomes the Media tab, and the tab bar is drawn at the top of the editor. formbreakbottom would draw the bar only below the form; plain formbreak draws it both above and below. This is editor-only, so it is shown as illustrative.