Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for Show only | Search instead for Did you mean:/t5/acrobat-discussions/can-i-make-the-date-field-autofill-with-todays-date-with-acrobat-dc/td-p/8925871 Feb 15, 2017 Feb 15, 2017
Copy link to clipboard
Can I make the date field autofill with todays Date with Acrobat DC?
Community guidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
I moved your question to the PDF Forms forum.
OK, here's how you do it: Search the tools for Document JavaScripts and open it. Create a new item. Let's call it "load".
Delete any pre-existing code in the window that opens, and paste this code instead into it:
this.getField("Today").value = util.printd("mm/dd/yyyy", new Date());
The code above assumes you have a field called "Today" that you want to populate with today's date. You can change that, as well as the date format, if you wish.