Help Creating Conditional Required Fields
Hello everyone,
Management wants me to create a form with two columns that can "interact" with one another. The first column is a code column using 'list' boxes with options 1, 2 ,3, O, and X. This column is titled "Code" and each box is titled "List Box 9" and the list continues to "List Box 21". The second column is just a comment column that is not required unless the option 'X' is selected in the first column. This column is titled "Repair Comments" and each text box is titled "24 Repair Comments 9" and the list goes on to "24 Repair Comments 21". Management wants the boxes in the "Repair Comments" column to be required if 'X' is selected in the list boxes under the "Code" column.
For example:
If "List Box 9" is blank or has codes 1, 2, 3, or O, then the text box "24 Repair Comments 9" should not be required to fill out. However, If "List Box 9" is changed to an 'X', then "24 Repair Comments 9" should turn into a required field.
Is this possible? Would I enter this as a validation script or calculation script? Should the script be entered in "List Box 9", "24 Repair Comments 9", or a completely separate field? Keep in mind this condition needs to apply to the list boxes and comments from 9 to 21. I heard it is better to keep the scripts in a separate field, but I don't know why.
Thanks in advance.
