Title: Adding current date to PDF
Last modified: October 18, 2017

---

# Adding current date to PDF

 *  Resolved [enkia](https://wordpress.org/support/users/enkia/)
 * (@enkia)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/)
 * Is there currently a way to add the current [_date] to the PDF?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [enkia](https://wordpress.org/support/users/enkia/)
 * (@enkia)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/#post-9599422)
 * I believe I figured it out:
    [https://answers.acrobatusers.com/How-form-populate-date-automatically-q24948.aspx](https://answers.acrobatusers.com/How-form-populate-date-automatically-q24948.aspx)
 *  Thread Starter [enkia](https://wordpress.org/support/users/enkia/)
 * (@enkia)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/#post-9601450)
 * The date didn’t change today so the javascript solution didn’t work.
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/#post-9602021)
 * Can you explain a bit more what you are trying to do? Do you want the PDF date
   field to show the date of the form submission or the current date (when PDF file
   is opened)? Or user specified date perhaps?
 * User specified date: [https://contactform7.com/date-field/](https://contactform7.com/date-field/)
 * Submission date: [https://contactform7.com/hidden-field/](https://contactform7.com/hidden-field/)
   + some javascript on the web page possibly? Or a special CSS class combined with
   a JS library.
 * The link you sent seems to describe how to have the PDF field populate with the
   current date (of when the PDF file is opened). I haven’t tried it myself but 
   it should work.
 *  Thread Starter [enkia](https://wordpress.org/support/users/enkia/)
 * (@enkia)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/#post-9602398)
 * >  Submission date: [https://contactform7.com/hidden-field/](https://contactform7.com/hidden-field/)
   > + some javascript on the web page possibly? Or a special CSS class combined
   > with a JS library.
 * This worked perfectly. Not quite sure why I hadn’t thought of such a simple solution!
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/#post-9603359)
 * Excellent.
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/#post-10105963)
 * There is actually a better way to do what you want with these two plugins:
    [https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/](https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/)
   [https://wordpress.org/plugins/shortcode-for-current-date/](https://wordpress.org/plugins/shortcode-for-current-date/)
 * Just use this tag in your contact form:
    [dynamictext date readonly “current_date”]
 * and map field ‘date’ to whatever PDF field you need…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Adding current date to PDF’ is closed to new replies.

 * ![](https://ps.w.org/pdf-forms-for-contact-form-7/assets/icon.svg?rev=2670251)
 * [PDF Forms Filler for CF7](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/adding-current-date-to-pdf/#post-10105963)
 * Status: resolved