Field control is an attribute located on the Field Attributes form either as a field or as a separate tab. It causes the choice made in one field to control the action of another field. A common use is to disable a field that doesn't apply based on the user's choice elsewhere on the form.
Field control can be used with:
checkboxes
number fields
slider controls
radio groups
static lists.
Although not normally used this way, field control can also be used with image viewers and icons. The field control syntax is the same as that described for number fields below, except that you list resource IDs instead of numbers.
The value the user chooses in one of these fields controls the value in, or state of, the controlled field. The chosen value can:
select (1) or clear (0) another radio button
select (1) or clear (0) another checkbox, or set that checkbox to the third, unchanged, state (2)
set the number in another field
choose a list item in another field
show (S) or hide (H) another field
enable (E) or disable (D) another field
protect (P) or unprotect (U) another field.
Values that the user can choose in the controlling field, and their corresponding actions in the controlled field, are strung together in the same control statement, separated by semicolons (;).
| ||