Copy link to clipboard
Copied
How do I get adobe pro XI to insert a date in a field once a checkbox is checked?
What date would you like to be inserted?
Copy link to clipboard
Copied
What date would you like to be inserted?
Copy link to clipboard
Copied
The current days date.
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now