FieldCanChange
This event is triggered before ALM changes a field value, to determine whether the field can be changed.
You can add code to this event procedure to prevent a field from being changed in specific cases. For example, see Example: Field Validation.
Syntax |
<entity>_FieldCanChange(FieldName, NewValue) where FieldName is the name of the field and NewValue is the field value. |
Type |
Function |
Returns |
True or False |
Availability |
|
The code for hiding a field that depends on another field should be placed in the FieldChange event procedure (not in the FieldCanChange event procedure).