Add logic to a webform field

To create a more streamlined, guided experience for someone filling out your form, you can add logic to show or hide individual webform fields based on information provided earlier in the webform (or another webform in the Workflow). Anvil’s field logic panel allows you to build logical expressions using standard operators like equal to, not equal to, greater than, less than, exists, and does not exist. You can add multiple conditions and choose whether they should be connected with an AND or OR.

Back to Help Center

How to navigate to the Workflow editor


Select a webform field.

From the Workflow editor, select the webform field you want to conditionally hide.

Webform logic 1


Select the "Field Logic" tab.

When the field editor panel opens to the left of your webform, click the Field Logic tab at the top.

Webform logic 2


Click Add condition.

Webform logic 3


Add a condition.

Select the condition for the visibility logic.

Webform logic 4

Back to Help Center

Other common posts

1 - 0 of 0