Our Knowledge Base covers a wide variety of technical topics, from the basic to the complex.
How can I use a field in a form rule without displaying it on the form?
Have you ever tried to build a form rule that needed some internal value that your users don’t need to see? If you set up another form rule which lists which fields should always be hidden, you can then build other rules with those fields without having to display them on the form itself:
- Open the table, then edit a record in the table to look at your form.
- Click Customize this form.
- Add the fields you want to hide at the bottom of the list, if you haven’t done so already.
- Open the Dynamic Form Rules tab.
- Click Add New Rule.
- Under the WHEN section, choose “Multiple conditions”.
- Change the next line to read “When any of the following conditions are true”.
- Change the line below to read “The user is in the role Administrator”.
- Change the last line in the WHEN section to read “The user is not in the role Administrator”.
- In the ACTION section, change the line to read “Hide name of field to hide”. If you want to hide multiple fields, click Add Action for each additional field.
For more on form rules, please see our Create Dynamic Form Rules help topic.