Add logic to a webform page

If you have multiple questions that you want to show or hide based on the same logical conditions, you may want to use page logic. Like the field logic panel, Anvil’s page 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 page to hide.

From the Workflow editor, navigate to the page you want to conditionally hide. Select the page by clicking on the title.

webform page logic 1


Select the Page logic tab.

When the page editor panel opens to the left of your webform, click the Page logic section.

webform page logic 2


Click Add condition.

webform page logic 3


Add a condition.

Select the form field you want the logic to be based on and add a condition for page visibility.

webform page logic 4


Click Save.



Repeat steps 6 and 7 to add more conditions to the page's logic.

Back to Help Center

Other common posts

1 - 0 of 0