Title: Using $form_data Array
Last modified: August 31, 2016

---

# Using $form_data Array

 *  Resolved [Luke Cavanagh](https://wordpress.org/support/users/lukefiretoss/)
 * (@lukefiretoss)
 * [10 years ago](https://wordpress.org/support/topic/using-form_data-array/)
 * Is there a way to be able to use the form_data array in the custom template and
   then target that by field id?
 * [https://developer.gravitypdf.com/documentation/custom-templates-with-form-data-array/](https://developer.gravitypdf.com/documentation/custom-templates-with-form-data-array/)
 * <div style=”font-weight: bold;”><?php echo $form_data[‘field][140]; ?></div>
 * [https://wordpress.org/plugins/gravity-forms-pdf-extended/](https://wordpress.org/plugins/gravity-forms-pdf-extended/)

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

 *  Plugin Author [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [10 years ago](https://wordpress.org/support/topic/using-form_data-array/#post-7342006)
 * Yes. Of course. That is the fundamental design of the `$form_data` array.
 * If you are trying to use that example you provided as a test you are missing 
   the closing apostrophe to the right of the word *field*:
 * `<div style="font-weight: bold;"><?php echo $form_data['field'][140]; ?></div
   >`
 *  Thread Starter [Luke Cavanagh](https://wordpress.org/support/users/lukefiretoss/)
 * (@lukefiretoss)
 * [10 years ago](https://wordpress.org/support/topic/using-form_data-array/#post-7342013)
 * Thanks, was having a Monday moment.
 *  Plugin Author [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * (@blue-liquid-designs)
 * [10 years ago](https://wordpress.org/support/topic/using-form_data-array/#post-7342020)
 * All good, Luke. I had a couple of them yesterday myself (we’re a day ahead in
   Australia).

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

The topic ‘Using $form_data Array’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-pdf-extended/assets/icon-256x256.png?rev=3168987)
 * [Gravity PDF](https://wordpress.org/plugins/gravity-forms-pdf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-pdf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-pdf-extended/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jake Jackson](https://wordpress.org/support/users/blue-liquid-designs/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/using-form_data-array/#post-7342020)
 * Status: resolved