• Resolved sabrinafel

    (@sabrinafel)


    First of all: Thank you for your efforts in making this plugin really irreplaceable!

    I’m searching for a detailled description for adding multiple signatures from the Signature Add-on into one custom PDF-Template. Unfortunately, I’m not very experienced in PHP yet, so I’d need a fairly comprehensible instruction.

    I already have a template that works for all fields, except for the signatures, which show up as unclickable red crosses. I’ve spent lots of hours trying all of the code snippets I found on the internet, but somehow none of these would change the signature.

    If you need any information, codes, etc. please feel free to tell me!

    Please help a frustrated woman in need! ??

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hi,

    You can display signature fields in your custom template using the following code:

    <?php
    $signature = $form_data['signature_details_id'][9]['path'];
    if( is_file( $signature ) ) {
        echo '<img src="'. $signature .'" />';
    }
    ?>

    You’ll need to adjust the ID (9 in this case) to match your signature IDs.

    You can use this code for all signatures in your form.

    Thread Starter sabrinafel

    (@sabrinafel)

    Thanks a lot! It works perfectly! Didn’t think it was going to be that easy! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple Signatures in PDF’ is closed to new replies.