Using JS to validate dates where the dates are read incorrectly
Modal popup is configured with Ok and Cancel buttons, and Required and Validate rules on the Date fields. When the Validate rule is not satisfied, the modal popup closes on clicking the Ok button.
Steps to Reproduce
Configure a modal dialog with Date fields, and with Ok and Cancel buttons.
Perform the following local-change:
- Provide a property level Validation rule for the Date fields in the modal dialog.
- Set the Visibility When condition to the Ok button by fetching the Validation message from the Clipboard.
- Disable the Ok button if there is any Validation error message in the modal dialog.
0% found this useful