How to Add a Logical Structure to Your Form
What is Logic in Yay! Forms?
Logic in Yay! Forms allows you to create dynamic and intelligent forms that adapt according to the user’s responses.
With it, you can:
- Perform lead scoring and lead qualification.
- Show or hide questions.
- Direct the user to different sections.
- Create quizzes, assessments, and customized question flows.
- Add points and automatically display final results.
How to Add Logic to a Form
1. Access the form
Open the desired form and select the question you want to use as the trigger for the logic.
2. Go to the “Logic” tab
On the right side of the screen, click on “Logic.”
Inside the tab, press the “Add Rule” button.
3. Set a condition
For example:
IF (your question) = Option A → THEN go to (closing screen 1).
IF (your question) = Option B → THEN go to (closing screen 2).
👉 Practical example: when creating a DISC profile quiz, each answer adds points to a variable (such as “Dominance” or “Stability”), and at the end, the logic automatically shows the participant’s profile.
Check out the blog: How to create a DISC profile quiz.
Another possible feature is adding one or more conditions by clicking “+ condition.”
4. Add multiple conditions
You can insert conditions using AND and OR.
Example:
- IF (your question) = Option A → go to closing screen
OR
- IF (your question) = Option B → go to another screen.
5. Add extra actions
You can create as many actions as you want for the same rule.
Example:
- IF (your question) = Option A → go to closing screen and add 10 points to the score variable.
👉 Practical example: in knowledge assessments, each answer can add or subtract points. At the end, the logic displays results adapted to the user’s performance.
Check out the blog: Knowledge assessment with quizzes.
6. Types of conditions and actions available
Depending on the question type, you can set conditions such as:
- “is,” “is not,” “contains,” “does not contain,”
- “starts with,” “ends with,”
- “is empty,” “is not empty,”
- “is greater than,” “is less than,” etc.
And actions such as:
- “Go to,”
- “Add,” “Subtract,” “Multiply,” “Divide.”
If you have any questions or suggestions, send us an email at [help@yayforms.com]().
Updated on: 03/09/2025
Thank you!