The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. adammontague
    Posted 2 years 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. Jake Jackson
    Plugin Author

    Posted 2 years 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 2 years 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.