Field Rules for Forms

Rules can be used to make one field’s coding dependent on another field (mark one field with a certain value or values based on reviewer selections in the parent field). Rules can also hide or show fields on a form. The parent and the associated or dependent fields must be in the form to create a Rule.

In the row of the field, select the Rules button. (The actions taken by the user in this field signal the Rule(s) to take effect.)

Click Add Rule in the Rules dialog box.

An IF query is created at Add Rule. You are telling the system that IF certain things are made true at this field, the system will automatically carry out your specified commands to other fields. The choices at Select an Option include:

The Choose a Value menu is available when you select Is, Is Not, Contains and Does Not Contain. This lists the values available for coding in the parent field. Selecting Has No Value Selected or Is Clear does not require you to specify values.

 

0153_Rule_Comparisona.png

 

Making a selection at Choose a Value, completes your IF query. If the parent field is a multi-value field, you can select more than one value in the Choose a Value field.

Next, you will design the Change statement that will take effect when the IF statement is true. Expand the Choose a Field menu. The list contains only fields available in the form. If you need to change a field not shown in the list, you need to add the field to the form.

After selecting your dependent field, expand the Choose an Action menu. Selections available are:

 

0191_Choose_Action.png

 

If the dependent field is a multi-value field, you can select more than one value by clicking again in the Choose an Action field. Remove a value by clicking the X.

 

0193_Add_Values.png

 

Remove the IF or Change statements by clicking the corresponding Delete (X) button. Create more statements clicking the corresponding Add (+) button.

 

0195_Delete_IF.png

 

Fields with Rules display the Rules symbol to forms administrators. Select Rules to edit rules, add additional rules or delete them in the parent field.

Click the Edit Form button to exit the editing form mode.