Conditional Fields
A conditional field appears on the form only when the subscriber selects certain options in another field. Use it to keep the form short and ask follow-up questions only when they apply.
How It Works
- The master field is the field the subscriber chooses from. It must be a published List, Checkboxes or Radio field.
- The dependent field is the field that appears or disappears. It can be of any type.
- The dependent field appears when at least one of the options you ticked for it is selected in the master field.
- Each field depends on one master field only. A dependent field of type List, Checkboxes or Radio can be the master of other fields. When it is hidden, those fields are hidden too.
- A hidden field's value is not saved, and a hidden fee field adds no fee.
Set Up a Conditional Field
First create the master field with its Values and save it. See Add New Custom Field. Then:
- Go to Components -> Membership Pro -> Custom Fields and edit the field you want to show conditionally, or click New.
- In Depend On Field, select the master field.
- In Depend On Options, tick the options that make this field appear.
- Save the field.
Example
Your site offers membership to individuals, students and businesses. You want to ask students for their student ID and businesses for their registration number. Individuals see no extra question.
First, create the master field:
- Title:
Membership Type
- Field Type: Radio
- Values:
Individual, Student, Business, one per line.
- Default Values:
Individual
Then create the two dependent fields. Both are Text fields:
| Title |
Depend On Field |
Depend On Options |
Student ID Number |
Membership Type |
Student |
Company Registration Number |
Membership Type |
Business |
This is the dependency setup of the Student ID Number field:

On the form, the extra field changes as soon as the subscriber selects another membership type:

To ask the same question for more than one membership type, tick several options in Depend On Options.
Tips
- Show the master field wherever the dependent field is shown. If the master field isn't on a form, the dependent field is always shown there. This happens when the master field is not assigned to the plan, the user's access level doesn't include it, or it is hidden on that form with Show On Subscription Form, Hide On Membership Renewal or Hide On Membership Upgrade.
- Order the fields. Keep each dependent field below its master field in the custom fields list. This matters most when you chain several levels.
- Tick at least one option. A dependent field with no ticked option stays hidden.
- Check after renaming options. If you change the text of an option in the master field's Values, edit each dependent field and tick the option again.
- Multilingual sites: you tick the options once. When you save the dependent field, Membership Pro picks the translated options at the same positions. Translate the master field's Values first, in the same order.