• My starting point was example-template.php. The example code in that template is:

    $first_name = $form_data['1.Name']['first'];
    $last_name  = $form_data['1.Name']['last'];

    The above returned nothing for me.

    Your documentation at https://gravityformspdfextended.com/ provides the following example code:

    $form_data['field']['1.Name']['first'];
    $form_data['field']['1.Name']['last'];

    The above code returned the correct values. Note that one has”[‘field’]” and the other does not. It’s a small thing, but you’d be doing future users a favor by keeping the example templates up-to-date with latest code requirements.

    Perhaps I’m having an edge-case issue, but I want to let you know about the discrepancy just in case.

    Thank you!

    https://www.ads-software.com/plugins/gravity-forms-pdf-extended/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Potentially Misleading Example Templates’ is closed to new replies.