Copy link to clipboard
Copied
Hi,
I am not sure if I am going to able to explain this very clearly.
I have 2 dates in a form
A request date and a Due date. I want the form to make sure the due date is after the request date, and put an error message if it isn't
Any Ideas?
Thanks
Sally
Copy link to clipboard
Copied
Hi Sally,
I hope you already have found a solution to this query.
There is no default/inbuilt option to make such comparison. However, i think this can be achieved using JavaScript.
Please wait for more inputs from JavaScript Expert users.
-Tariq Dar
Copy link to clipboard
Copied
Some good resources on the subject:
https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript
https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript-part-2
https://acrobatusers.com/tutorials/working-with-date-and-time-in-acrobat-javascript-part-3
http://practicalpdf.com/the-practicalpdf-date-library-for-adobe-acrobat/