Discussion

1
Replies
573
Views
RUKNUDDIN_INCESSANT Member since 2012 2 posts
Incessant Technologies
Posted: 5 years ago
Last activity: 5 years ago
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
Share this page LinkedIn