Discussion

1
Replies
578
Views
Close popover
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
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