Support » Plugin: PDF Forms Filler for CF7 » Error in this last update

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author



    If I understand you correctly, you updated to the latest version and your CF7 forms no longer submit, the spinner is running endlessly when you try to submit the forms on the front-end. Is this correct?

    This problem usually happens when you have a PHP warning/notice spill into the JSON output of the AJAX request, causing a JavaScript parse error.

    I did have this problem testing WordPress 5.5 (due to a PHP notice with the “SMTP Mailer” plugin). However, my plugin was not causing the problem.

    Would you mind sending me the URL of your form? I would like to see what the PHP notice is.


    Thread Starter alexasun


    Hi Maximo, I have restored to a previous backup and it already works.
    The problem is caused by the Contact Form 7 plugin, which has an update and if I update it the form submission stops working.
    Your PDF plugin is fine, it works perfectly.

    Is there a way to add two fields and have the result in another field? Example “300” + “200” = “500”
    Thank you very much

    • This reply was modified 2 years, 7 months ago by alexasun.
    Plugin Author


    I am not sure what you mean exactly.

    If you mean “can I combine multiple CF7 fields into one PDF field” then the answer is yes. The new version of the plugin allows you to do this. Use the pencil icon edit button next to the CF7 field name in the mapping list to convert it to mail-tags mapping, so that you can add more tags to it. You can also select some special mail-tags from the CF7 field dropdown when you are creating the mapping and that will have the same effect.

    Let me know if you mean something else.

    Thread Starter alexasun


    Hi Maximo,
    I had already used the edit button for the pencil icon.
    I did tests of: [menu-dona] + [text-pay] but the result was this: 5.00 + 800
    and I need the result to be: 805
    Is there any way i can do it?
    what I need is to calculate the sum of two fields: [Field 1 = 300] plus + [Field 2 = 200].
    and put the result in another field [result]

    Thank you very much

    Plugin Author


    You would need to somehow have a CF7 field or a mail-tag that does this. The best thing to do is to just write your own wpcf7_special_mail_tags filter and create your own special mail-tag.

    Something like this:

    function special_mail_tag( $output, $name, $html )
        if( 'something' == $name )
            $output = ......; // do the sum here
        return $output;
    add_filter( 'wpcf7_special_mail_tags', 'special_mail_tag', 10, 3 );

    Then you would have the mail-tag [something] available to you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error in this last update’ is closed to new replies.