I am wondering if it is possible to compare the date a form is submitted to a set deadline date. The idea is that when a visitor clicks submit it compares the date of submission to the deadline date.
For example I have a form for a scholarship application. The deadline for the submission is April 11th. I would like it that when the visitor clicks submit if the date is April 12th or later a message pops up informing them that the online submission deadline has passed. Or another option would be to hide the submit button after April 11th and display a message instead.
Is this possible. If so, how would I do it?
For example I have a form for a scholarship application. The deadline for the submission is April 11th. I would like it that when the visitor clicks submit if the date is April 12th or later a message pops up informing them that the online submission deadline has passed. Or another option would be to hide the submit button after April 11th and display a message instead.
Is this possible. If so, how would I do it?