Discussion

1
Replies
589
Views
Mohammad Ruknuddin (RUKNUDDIN_INCESSANT)
Incessant Technologies
Pega Consultant
Incessant Technologies
US
RUKNUDDIN_INCESSANT Member since 2012 2 posts
Incessant Technologies
Posted: September 17, 2015
Last activity: September 21, 2015
Posted: 17 Sep 2015 22:18 EDT
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
 
 
Pega Academy
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.