Award Force supports conditional fields, a powerful feature allows a field to be hidden or visible based on the value of another field. Conditional fields are useful when you want to display a subset of values based on a selection somewhere else.
For example, you may have one field with regions around the world and would like another field to display a subset of countries based on the chosen region.
Set up a conditional field:
- Go to Settings > Entries > Form editor
- Open an existing field or configure a new field
Note: although the radio button field type is available for selection when creating a conditional field, it should not be used with conditional logic. Please select the drop-down field type instead.
- In the 'Conditional' section, select This field is displayed based on the value of another field
- Choose whether to Hide this field or Show this field
- Select the field you'd like to base the conditional logic on from the next drop-down
- Configure the logic associated with the response in the selected field
- Input the value associated with the original field
In the example above, I've chosen to show a country selection drop-down based on region. Here is what the configuration looks like:
Use a checkbox to show/hide additional fields
Another use for conditional fields is to enable entrants to provide more information. For example, you might want to include a checkbox field asking whether entrants would like to add referees to their application. If this is checked additional fields appear for referee name and email address. These additional fields can be required.
In this example fields asking for a referee's name and email address will have the following settings for the conditional:
A checkbox can be either 0 or 1. If it's unchecked the value is 0. If it's checked the value is 1.
Use conditional fields to calculate how many upload fields to display
Another example for conditional fields is using a numbered drop-down menu to determine how many file upload fields to display.
To get this to work you'll need to use the is any of condition and add the value for that field selection and any higher. Here are the settings for the third file upload field:
The settings for the second upload field looks like this:
Need more help? Get in touch!
Simply send us a message via this form and we will get back to you quickly!
Our globally distributed client success team are here to help 24 hours a day, Monday to Friday (business hours).