WordPress.org

Forums

Gravity PDF
[resolved] Problem with date field on PDF (3 posts)

  1. adammontague
    Member
    Posted 1 year ago #

    I'm not sure what I'm doing wrong but all my form fields are being transferred to PDF fine apart from the date field.

    All that gets put on the PDF is the first digit. For example, if the date is selected as 30/11/2013 - all that gets put on the PDF is '3'

    This is what's in my template file to call the date field
    <?php echo $form_data['field']['4.Date']['date']; ?>

    What am I doing wrong here?
    Thanks!

    http://wordpress.org/plugins/gravity-forms-pdf-extended/

  2. Blue Liquid Designs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Adam,

    What does your $form_data array look like when you view it?

    I would suggest the line should more likely be <?php echo $form_data['field']['4.Date']; ?>

  3. adammontague
    Member
    Posted 1 year ago #

    Aah that's sorted it! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gravity PDF
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.