MassiveHand Campaign Works™ allows you to create conditional fields. Conditional fields allows you to manage sets of dependencies between fields. Such fields are available for editing and display only if the right condition is met.
Creating custom fields
Let’s take an example wherein you want to display specific menu items to customers based on the selected cuisine. To achieve that, you can create the following custom fields:
- Favorite Food: This field should be of the Select data type. Let’s assume that available options for this field are American, Asian, Italian, and Latin American.
- American Food: This food should be of the Select – Multiple data type Let’s assume that available options for this field are Apple Pie, Burgers, Fried Chicken.
For more information on creating custom fields, see Create custom fields.
Once you have created the requisite custom fields, you must create a forms with those fields. For more information on creating forms, see Forms.
While creating forms, ensure that you follow the below process for associating the custom fields with the form:
- Add a field to the form. This field can be of Select, Select – Multiple, or Boolean data types. This field can act as the parent field.
- Specify the values in all the tabs, as appropriate.
- Click Add field based on selected value and select Checkbox group.
- Enter the values in the General tab. For more information, see General.
- Under the Condition tab, select one of the following options and the corresponding values:
- including: Select this option if you want the conditional field to appear only if the selected value on the form matches one of the selected values that you have configured in the conditional field editor.
- excluding: Select this option if you want the conditional field to appear only if the selected value on the form does not match with any of the selected values that you have configured in the conditional field editor.
- To ensure that the conditional field appears only after a response is selected for the parent field, set the Any value option to No. This is regardless of the value specified in response.
For a parent field with the Select data type, MassiveHand Campaign Works™ recommends that you use an Empty Value.