Conditional logic allows you to create dynamic booking forms that adapt to the user's input. On AyaBookings, this feature is especially useful when you want to show or hide specific custom input fields based on how a customer responds to a previous question.
For example, if a customer selects “Yes” to “Do you have any allergies?”, a follow-up text box can appear for them to specify their allergies.
Benefits of Using Conditional Logic
Streamline booking forms by only showing relevant questions.
Improve customer experience with a cleaner, responsive form.
Collect detailed and targeted information without cluttering the interface.
How to Set Up Conditional Logic in AyaBookings
Step-by-Step Instructions
Go to your AyaBookings dashboard.
Navigate to the Services.
Scroll to the Custom Input Fields section.
Click + Add New Field.
Set your field label and type as usual.
Navigate to the “conditional logic”
Choose the Action field and condition, such as:
“Show When” / "Hide When”

Define what should happen:
Show or hide the current field based on the selected value.
Click Save to apply the logic.
Repeat this process for any additional fields you'd like to show conditionally.
Example Use Cases
| Trigger Question | Conditional Field |
|---|---|
| Do you have any dietary restrictions? | If "Yes", show a text input field to describe them |
| Would you like to book a group session? | If "Yes", show a dropdown to select number of people |
| Select your preferred payment method | Show different instructions or input fields based on choice |
Best Practices
Group related questions to keep logic manageable.
Always test the form after setting conditions to ensure correct behavior.
Use clear, specific field labels to avoid confusion for users.
Conditional logic is a powerful way to tailor your booking experience to your clients. It not only reduces unnecessary inputs but also improves the quality of information you collect.