Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Out of Date Conditional Format

Explorer ,
Feb 14, 2016 Feb 14, 2016

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

TOPICS
Acrobat SDK and JavaScript , Windows
315
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 14, 2016 Feb 14, 2016

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 14, 2016 Feb 14, 2016
LATEST

  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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines