Add calculations, rules and sections
Make custom fields work for you: calculated fields that fill themselves in, rules that stop a save until something is right, and sections that group fields in the Custom fields window.
Add a field first. Calculations, rules and sections are built from fields.
Calculated fields
- In Edit fields, under Rules & sections, select New calculated field.
- Choose the Field to calculate. People can't type in it; its value comes from the calculation.
- Choose the Calculation: Add, Subtract, Multiply, Divide, Join as text, First non-empty or Copy field.
- Choose the First field, and Combine with Another field, typing its field name, such as budget, or A fixed value. Not needed for Copy field.
- Save it.
Deleting a calculation keeps the field, and people can type in it again.
Rules
- Select New rule.
- Enter the Rule code, such as budget_not_negative. It can't change after saving.
- Choose the Field to check and when it Saves only when the value is: Equal to, Not equal to, Greater than, Less than, the or-equal-to variants, or Filled in, with the Value.
- Write the Message people see when the rule stops their save, such as "Budget can't be negative."
- Save it.
Sections
- Select New section.
- Enter the Section code, such as deal_details, and its name.
- Choose the Fields in this section, in order.
- To show it only sometimes, choose Show only when this field Has this value; leave it empty when the section is always shown.
- Save it.
Fields in no section appear under Additional fields. Deleting a section keeps its fields.
If it doesn't work
- This code is already used. Choose another one, or edit the existing one from the list.
- This was set up outside this editor, so it can only be deleted here.
- The customization schema changed. Reopen this editor.