Make a field required, read-only or hidden
Before you start
Control how each fieldFieldA column of a module with a type, label and system name.Open glossary ↗ behaves on the formFormThe set of blocks and components people fill in for a module.Open glossary ↗: required or optional, editable or read-only, visible or hidden. The three switches on a field card apply all the time. A field condition changes a field only while another field holds a certain value.
Set the three switches
Section titled “Set the three switches”Every field card has three switches. Click one to flip it.
| Switch | Off | On |
|---|---|---|
| Required | Optional | Required |
| Editing | Editable | Read-only |
| Showing | Hidden | Visible |
- Open the Forms tab of the module.
- On the field’s card, click the switch you want to change.
- Click Save.
Hovering a field in the palette shows “Required in module” when the module itself marks the field as mandatory.
A Hidden field stays in the module and keeps its data. People do not see it on this form. A Read-only field shows its value for people to read.
Make a field react to another field
Section titled “Make a field react to another field”A field condition says: when this field has this value, do these actions to other fields. For example: when Retention applicable is True, make Retention percentage Editable.
- Click Form rules in the toolbar. The Form Settings panel opens.
- Click Add Condition. A row appears.
- Choose the field in Select field, an operator in Select operator, and the value.
- Click the bars icon at the end of the row. Field rules configuration opens.
- Click Add Action. A sentence appears: “Set the field … to …”.
- Pick the field to change, then an action: Read only, Editable, Visible or Invisible.
- Add more actions if you need them, then click Save in the dialog.
- Click Save in the panel, then Save on the form.
The operators are Equal, Greater Than, Less Than and Contains. For a Lookup field, use Equal and pick the value from the list.
Each condition has its own list of actions, and a condition can affect any number of fields. Give every condition at least one action.
Hide or lock a field on the public form only
Section titled “Hide or lock a field on the public form only”Once the form is published, Display options gets one more row, On the public form. It offers:
- Same as this form
- Hidden
- Read-only
The card then shows the chip Not on public form or Read-only on public form. This is the place to hide an internal field, such as a contract’s internal owner, from visitors. See Publish a public form.
What should I know before I start?
Section titled “What should I know before I start?”- Field conditions are separate from block rules. Conditions act on fields. Block rules act on a whole block.
- Fill in the field, the operator and the value of every condition before you save.
- The condition panel is called Form Settings, but the toolbar button is Form rules. They are the same thing.
- Form parameters and the Rule Book live in the same panel. See Prefill a form with parameters and Stop bad data with the Rule Book.
Check yourself
What's next
Last checked