Problem Statement: The “Disable Submission & Show Error” action was not working during field verification for Mobile OTP Validation.
RCA: The rule was configured to show an error based on the Mobile OTP Verification Status field. However, this field was set as Read Only, the “Disable Submission & Show Error” action does not trigger on Read Only or Hidden fields when used with the “On Tab Submit” condition.
Solution: If business requirements allow, do not keep the verification field (Mobile OTP Verification Status) as Read Only.
Alternatively, use any field (e.g., Notes) for error messaging. Here’s how:
- Hide the Notes field by default
- Create a Rule to Show the Notes field when Mobile OTP Verification Status is not validated
- Add a rule with “On Tab Submit” and set the action to “Disable Submission & Show Error” on the Notes field with a with a relevant message
This ensures that validation errors are shown to the user using when the Mobile OTP is not validated.
