Skip to content

ENفارسی

HORUPH

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

  1. In Edit fields, under Rules & sections, select New calculated field.
  2. Choose the Field to calculate. People can't type in it; its value comes from the calculation.
  3. Choose the Calculation: Add, Subtract, Multiply, Divide, Join as text, First non-empty or Copy field.
  4. 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.
  5. Save it.

Deleting a calculation keeps the field, and people can type in it again.

Rules

  1. Select New rule.
  2. Enter the Rule code, such as budget_not_negative. It can't change after saving.
  3. 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.
  4. Write the Message people see when the rule stops their save, such as "Budget can't be negative."
  5. Save it.

Sections

  1. Select New section.
  2. Enter the Section code, such as deal_details, and its name.
  3. Choose the Fields in this section, in order.
  4. To show it only sometimes, choose Show only when this field Has this value; leave it empty when the section is always shown.
  5. 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.