Copy link to clipboard
Copied
I'm using Adobe Acrobat Pro DC and would like to set up some validation script for a date field of an application. For example - the start date of the project must be no earlier than May 15 2019. If the user enters a date before May 15 I want an error message that states "start date must be May 15 or later". I also need something similar for the completion date of the project. For example: the completion date should be by May 14 2020. So if the user enters a completion date after May 14 2020 an error message such as "completion date must be before May 14 2020. Is something like this possible with the calendar? Any other ideas on how to achieve this?
This is a good place to start learning about this 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-date-and-time-acrobat-javascript-part-3-3
Copy link to clipboard
Copied
This is a good place to start learning about this 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-date-and-time-acrobat-javascript-part-3-3