Skip to end of banner
Go to start of banner

How do I add form logic based on cookies or URL parameters?

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Here is an overview of how to add global logic to your form to prefill text fields, or hide or show questions based on website data. This function also allows for the email address to, rather than be stored in the website data, be stored in the email field of the form.

To add Global form rules follow these steps:

Step 1: Feedback forms

On the left-hand side click on ‘Data collection’, then ‘Feedback forms’. Click on the pencil to edit a form.

Step 2: Add elements

Add the elements you want the logic to apply to and save the form.

Step 3: Logic

Go to ‘BUILD' on the top bar, then, ‘LOGIC’ on the right-hand side.

Step 4: Create logic

Set the logic. In this case, we fill the e-mail field with the URL parameter e-mail.

Then save the form and the logic is added.

Testing

If you want to check if it works, click on the preview button at the top right corner.

You will also be able to use this function when you hide the element you are prefilling. This allows you to collect the email address in the correct field instead of the website data field.

  • No labels