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

  1. adammontague
    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?


  2. Blue Liquid Designs
    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
    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


No tags yet.