Discussion
Incessant Technologies
US
Posted: Sep 17, 2015
Last activity: Sep 21, 2015
Last activity: 21 Sep 2015 10:31 EDT
Closed
Client Side Validation Quiz Question
Hi Team,
I'm bit confused with the following question:
What is the most appropriate way to ensure that a user enters a valid date? (Choose One)
Set the property mode to DateTime
Validate the input using custom JavaScript
Validate the input using an Edit Validate rule
Use the “Date time” control
Correct!
Data validation comes automatically when using a control
As per my understanding, Control will allow the user to enter/select the date in a valid format. But what if I have to restrict a user to enter only a future date.
So the quiz question should be like: what is the most appropriate way to ensure that a user enters a date in a valid format. Please do correct me if I am wrong.
Thank you