• Resolved mmuckerm

    (@mmuckerm)


    Hello!

    First of all, thank you SO, so much for this plugin — saved me hours of work! Thank you!

    I have the Gravity PDF plug-in installed as well as the Gravity Repeater Add-on. When I export an entry to PDF, the PDF doesn’t include any of the content from the repeater fields but instead shows this:

    a:2:i:5;a:2:i:6;a:1:i:7;a:1:i:8;a:1:i:9;a:0:i:11;a:1:i:12;a:1:i:26;a:0:}i:2;a:14:i:5;a:2:i:6;a:1:i:7;a:1:i:8;a:1:i:9;a:0:i:11;a
    :1:i:12;a:1:i:26;a:0:i:14;a:1:i:15;a:1:i:17;a:1:}}

    Are there any adjustments you can make to the Gravity Repeater code to allow the export of those fields to PDF?

    Many thanks!

    Meredith

    https://www.ads-software.com/plugins/repeater-add-on-for-gravity-forms/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter mmuckerm

    (@mmuckerm)

    Figured this out, nvm

    I had this same issue, just curious what did you do to figure it out?

    I used unserialize() and that seemed to work…

    Hello,

    Thank you so much for this plugin !

    I have this problem :
    a:2:i:300;a:1:i:301;a:1:i:347;a:1:i:383;a:1:i:384;a:1:}i:2;a:10:i:300;a:1:i:301;a:1:i:347;a:1:i:383;a:1:i:384;a:1:i:313
    ;a:1:i:314;a:1:i:315;a:1:i:386;a:1:}}

    Please, how can i resolved this problem ?

    Thanks in advance.

    Sylvain

    Thread Starter mmuckerm

    (@mmuckerm)

    Hey all! For those who come upon this problem, the solution for me was to create a custom PDF template. You must use the repeater’s field ID as a merge tag in your template.

    Gravity Forms PDF has a great set of video tutorials for setting up custom templates on their website here: https://developer.gravitypdf.com/documentation/basic-configuration-video-part-one/

    It helps to have a working knowledge of PHP, HTML, and CSS when creating these templates, but I don’t think that’s a prerequisite – just a nice to have.

    Best of luck!

    Guys, how the heck do you do this? I must be missing something. I would really appreciate some help. Here is what I’ve done:

      Created a custom template with merge fields taken directly from Gravity Forms confirmation screen
      Added (uncommented) code in configuration.php:

      $gf_pdf_config[] = array(
        	'form_id' => 8,
        	'notifications' => 'User Notification',
        	'template' => 'my-custom-template.php',
        );
      Added print_r( $repeater ); to configuration.php
      Also tried $repeater = maybe_unserialize( $form_data['field'][1] );

    So far, nothing works. I get serialized data passing from the repeater fields to Gravity PDF. I know the Repeater plugin is no longer being supported by its author, which is a pity, but those of you who figured out a way to make the repeater fields show up in the PDF, please kindly share your wisdom with the rest of us so that the world could be a better place ??

    Thank you very much in advance!

    Svet

    @dc3me

    Hi,

    did you get the repeaters to work in gravity PDF?
    please help.

    thanks

    Is someone found a solution to this problem ? Here, it displays : a:2:i:24;a:1:i:25;a:1:i:26;a:1:}i:2;a:4:i:24;a:1:i:25;a:1:i:26;a:1:}}

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Compatibility with Gravity PDF plugin?’ is closed to new replies.