Dynamically Toggle Visibility of a Form Field dynamically-toggle-visibility-of-a-form-field
One really cool feature of Marketo forms is that you can dynamically hide/show form fields or fieldsets.
-
Go to Marketing Activities.
-
Select your form and click Edit Form.
-
Select the field you want to hide/show dynamically and click the link for Visibility Rules.
-
Find and select the field you want to build a condition around.
-
Select the operator.
note tip TIP This is cool because you can choose fuzzy matches like “starts with.” -
Select the value(s) to look for, then click outside of the drop-down.
note tip TIP You can select multiple values by clicking them while the drop-down is open. For example, you can select United States and Canada. note note NOTE We previously converted Country to a pick-list field type and added all countries as values. -
Click Save.
And that’s it! Now when people fill out this form and select United States for Country, the State field will dynamically appear with the choices specified.