Separator
Separator fields visually divide the fields on a record editing page. This page covers the options available when editing a separator field in the Field Editor.
Basic options
Section titled “Basic options”- Field label
The text displayed beside the field when editing a record.
- Database Field
The name the database and program use to refer to the field. In viewers you reference it as:
<?php echo $record['fieldname'] ?>If you rename an existing field, update any references to it in your viewers and Database Editor settings. Some field names have special built-in behavior. See Special Fieldnames.
- Field type
The type of input the field accepts. Each field type has different options. Note that separator fields don’t require a field label or field name.
Visibility
Section titled “Visibility”- Show for
Limits who can see the separator: Everyone, Editors and admins, Admins only, or Nobody.
- Show if
Shows or hides the separator on the record edit page based on another field’s value. Pick a field, an operator, and a value. Operators are equals, does not equal, contains, starts with, and ends with (is checked / is not checked for checkbox fields). Use
|between values to match any of several (e.g.draft|pending); for multi-value fields, any matching value counts.Select Custom expression for AND conditions and multi-field rules, using
=,!=,*=(contains),^=(starts with), and$=(ends with) as operators, e.g.type=article AND status!=draft|pending. AND binds tighter than OR,field=matches empty or unchecked, andfield!=matches any value.
Field options
Section titled “Field options”Options specific to the field type appear in this section. For most fields the defaults will be sufficient, but for list fields you will need to set the values for your list options.
- Separator type
The type of separator to display: either a blank line, a header bar with the specified text, or HTML code. Header bars can be made Collapsible, with a Closed By Default option to start them collapsed. The HTML option is edited with syntax highlighting and can include PHP code.
Advanced options
Section titled “Advanced options”- System field
System fields cannot be edited and have no modify or erase link unless “System Field Editing” is enabled (under Advanced Commands on the field list page). This prevents accidental changes to fields the program relies on.
In viewers
Section titled “In viewers”Separators are layout-only: they store no data and create no database column,
so they never appear in getRecords() results or generated viewer code.