What are conditional fields?
Good Grants supports conditional fields, a powerful feature that allows a field to be hidden or visible based on the value of another field. This is useful when you want to display a subset of values based on a selection somewhere else. For example, you may have an age field depending on which you ask for the applicant's CV. It would look like this:
Important: conditional fields cannot be used on the registration form or in action flows.
Set up a conditional field
Note: conditional logic is best paired with the drop-down field type. 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. Three key examples are content, file upload (single), and formula field types. In many instances, a different field type can be chosen for the initial field in order to allow for the condition to be applied.
Form editor
- Open the Manage workspace, navigate to Applications, and click Edit form
Note: for accounts utilising multiple forms, select the form you wish to edit from the drop-down that appears.
-
Add a new application field or click the settings icon of an existing field
- In the 'Conditional' section, select the This field is displayed based on the value of another field checkbox
- In the resulting first drop-down, choose whether you wish to hide or show the field
- From the next drop-down, select your trigger field; i.e. the field which decides whether this field displays or is hidden
- Choose the logic associated with the trigger field
- Provide the required response value in the next line
Important: this response is case sensitive. If your trigger field drop-down choices are "Yes" and "No", you will need to input the response value using the same capitalisation, i.e. "Yes" or "No", not "yes" or "no". - Save
Standard configuration
- From the Manage workspace, go to Settings > Applications > Fields
- Access an existing field or add a new application field
- Check the box next to This field is displayed based on the value of another field
- Choose whether to show or hide the field
- From the next drop-down, select your trigger field; i.e. the field which decides whether this field displays or is hidden
- Choose the logic associated with the trigger field
- Provide the required response in the next line
Important: this response is case sensitive. If your trigger field drop-down choices are "Yes" and "No", you will need to input the response using the same capitalisation, i.e. "Yes" or "No", not "yes" or "no". - Save
Use conditional fields to calculate how many upload fields to display
Another example of 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 is the setting for 2 upload fields to be shown:
To show 3 upload fields, the setting will be:
Video overview