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

Form Help

Guest
Oct 10, 2016 Oct 10, 2016

How do I get adobe pro XI to insert a date in a field once a checkbox is checked?

TOPICS
Acrobat SDK and JavaScript , Windows
390
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

correct answers 1 Correct answer

LEGEND , Oct 10, 2016 Oct 10, 2016

What date would you like to be inserted?

Translate
LEGEND ,
Oct 10, 2016 Oct 10, 2016

What date would you like to be inserted?

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
Guest
Oct 10, 2016 Oct 10, 2016

The current days date.

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
Community Expert ,
Oct 10, 2016 Oct 10, 2016
LATEST

Use this code as the text field's custom calculation script:

event.value = (this.getField("CheckBox1").value=="Off") ? "" : util.printd("mm/dd/yyyy", new Date());

You should change the name of the check box field to match the one in your file, and can also change the date format to something else, if you wish.

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