Copy link to clipboard
Copied
Hi: I have a questionnaire form (Adobe XI Pro) that includes a date field. I'm needing the script language to highlight (conditional format) the field if the date entered is over five (5) years old.
Thanks
- Phil
Copy link to clipboard
Copied
That can only be done using custom JavaScript code and for a definitive answer we need to know the form field names involved and the format image of the date to be tested.
Do you know enough scripting to change field names and date formats strings in functions or methods?
Copy link to clipboard
Copied
Hi gkaiseril
The name of the input date field supplied by the user is “MOU” (date of the Memorandum of Understanding). The output or resulting displayed field is “Expire Date”. I have set “Expired Date” format to “mm/dd/yyyy”.
I understand basics of scripting to be able to change names and formats using the Acrobat GUI and can do substitutions from sample script.
Thanks
Find more inspiration, events, and resources on the new Adobe Community
Explore Now