Skip to main content
Participant
March 7, 2023
Question

Acrobat Form: input for date field has a minimum and maximum date range

  • March 7, 2023
  • 1 reply
  • 560 views

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

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 7, 2023

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.