IsFutureDate Edit Validate rule running in Read Only.
We have date fields where we have added the edit validate rule IsFutureDate to require that the date entered is in the future. The problem we saw with this is that the validation would run when viewing that date in the future in read only.
Ex. Today is Jan. 1, we select Jan 5 as the value. On Jan 6, if we viewed this field in read only, the IsFutureDate will run giving us the error that Jan 5 is in past.
To Overcome this we have had to remove all IsFutureDate validations and them validate the field on the post-process. Is there a way to get the Edit Validate to work only when it should, during edit mode?
***Updated by moderator: Lochan to update platform capability***
We have date properties that have the edit validate "IsFutureDate." If a user enters a future date, then the date passes and is referenced in a read-only section, the user receives an error due to the IsFutureDate and the user is not able to proceed from the current page.
use case- When date has a value before you load a screen. Ex- Ur date has a value of 16th july, and on 20th July you open a screen where this date is refered in Read-only. Error msg will not show up after screen load. If error msg exists check the Presentation tab of you property reference, there is check box "Show validation messages in read-only mode" for Date Time controls. make sure this is unchecked.