How to use form conditions for multiple registrations (no payment fields)
Conditions can be added to different fields on a form to affect the functionality of other fields.
In this article, we will use the example of creating a registration form for multiple students for a religious education program.
We want the form to accommodate multiple registrations, but also wish to hide the registrations for students 2 and 3 if a family is only registering a single student.
- After creating all necessary fields for your form (registration fields for Student 1, 2 and 3), go back to the fields you wish to hide to add conditions.
In this form, I've created a checkbox list at the start that asks how many students are being registered. It is a required field, and it will help us to set up how many registration fields will show.
- Starting with Student's Name (2nd Student) click the gear icon to the right of the field.
- The Field Properties window will pop up. For any non-required field, we have to make sure that it is not marked as "Required." To do this click Validation1.
- Make sure the checkbox next to Required1 is not checked. Then, click CONDITIONS2 to add conditions to this field.
- Once in the conditions section, make sure the radio button for Under certain conditions is selected.
- A new option will display that will allow you to add conditions. Click ADD A CONDITION.1
A new condition is now available for edit. Click the drop-down menus to select any of the available fields1-3 in the form to use as a condition.
In this case, we want only the fields for Student 2 to show if someone checks the box for registering 2 students. The condition would look like this:
But for the fields that are only for the 3rd student it would look like this:
- Once you're finished adding your conditions, click the X in the top right of the conditions window to close it and return to the form.
- Repeat this process for each field in the form. If you have four fields each for the 2nd and 3rd Student information, you will need to open the options for each field and enter the relevant conditions. That means you will be entering conditions for the 2nd student 4 times and for the 3rd student 4 Times. Once for each field that is dependent on that condition.
- Once you're finished adding your conditions, you can go to PREVIEW FORM1 to test your conditions.
- In the form preview, try clicking on the checkbox for 2 Students.
- If you scroll further down the form you will see that now only registration fields for two students display.
If you click 3 Students. Then registration fields for all 3 students will show on the form.
Do this for each field you only want to show under certain conditions and you will be able to have forms that can adapt to your organization's needs depending on the situation.