cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do i allow only a Monday to be selected from a date field in a form. Want a message to display that you did not select a Monday.

How do i allow only a Monday to be selected from a date field in a form.  Want a message to display that you did not select a Monday.  I have a need that allows only a Monday to be selected from the date field.

Thanks...........

0 Kudos
Reply
1 Reply
Automation Master
Automation Master

Re: How do i allow only a Monday to be selected from a date field in a form. Want a message to display that you did not select a Monday.

Hi Jim,

you can use some Javascript to achieve this. You can use the getDay()-Method to check which day of the week the date chosen represents and then do whatever you desire like using an alert() to display an error message and reset the field.

Regards

Philipp

Reply