Web form editor

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.

Web form editor
1

How to navigate to the Workflow editor

2

Select a webform field.

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

Webform logic 1

3

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

4

Click 'add condition.'

Webform logic 3

5

Add a condition.

Select the condition for the visibility logic.

Webform logic 4

Back to Help Center

Related Articles

Navigate to the Workflow editor

Remove logic from fields and pages

Add logic to a webform array

Add logic to a webform page

Add logic to a PDF

Add logic to a PDF field

Ready to upgrade your paperwork?

Create workflows from your existing PDFs, or fill, generate, and sign PDFs from your app via our API. Start automating your paperwork today.