I have 2 fields:
- Violation Present? (Yes/No)
- Violation Details (Text)
The Violation Details field is set to be shown if and required if Violation Present = TRUE.
The user selects Violation Present = TRUE, then enters a value for the Violation Details.
If they then change their mind and set Violation Present = False, the Violation Details is immediately hidden. However, the value they entered into the Violation Details still gets saved with the record. How can I clear the value from the Violation Details when the user changes the other field from TRUE to FALSE or anytime the field gets hidden?