Award Force supports conditional fields. This powerful feature allows a field to be hidden or visible based on the value of another field.
Note: conditional fields cannot be used on the registration form or in review flows.
This feature is 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.
Note: not all field types will support conditional fields. If the field you created is not available for selection from the drop down in the Conditional section of the field configuration screen, that means the field type is not supported. In many instances, a different field type can be chosen for the initial field in order to allow for the condition to be applied.
Set up a conditional field:
- Go to Settings > Entries > Fields
- Go into an existing field or configure a new field
- Check the box next to This field is displayed based on the value of another field
You can choose to show or hide the field. In my example, the country selector for the EU region has these settings:
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 the Referee email and Referee name 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. Here are my settings for the 4th file upload field:
The setting for the 2nd upload field looks like this:
Need more help? Get in touch!
We're here to help if you need it. Simply get in touch with our Client Success team through one of the methods available at the base of the page.