0
Acrobat Form: input for date field has a minimum and maximum date range
New Here
,
/t5/acrobat-discussions/acrobat-form-input-for-date-field-has-a-minimum-and-maximum-date-range/td-p/13633098
Mar 07, 2023
Mar 07, 2023
Copy link to clipboard
Copied
Hello everyone,
I'm building a form in Acrobat with a date picker field.
I want the following validation on the entered date: maximum 6 months in the future, not longer ago as one month in the past.
Is there a javascript code where I can fix this with? I'm not into JS at all, but I hope someone here is. If so: you would really, really help me.
Many thanks in advance.
Greetings, Randy
TOPICS
PDF forms
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-discussions/acrobat-form-input-for-date-field-has-a-minimum-and-maximum-date-range/m-p/13633465#M402409
Mar 07, 2023
Mar 07, 2023
Copy link to clipboard
Copied
You can use a script to validate the value the user selects (and reject it if it's outside the desired period), but you can't limit the actual selection in the date picker, if that's what you mean.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

