Support » Plugin: PDF Forms Filler for CF7 » Compatibility with CF7 Conditional Fields PRO “repeater” feature

  • Resolved sylvain68

    (@sylvain68)


    Hello,

    Firstly thanks again for your great plugin!

    In the Field Mapper, the fields to be mapped are retrieved from the CF7 form.

    When using the “repeater” functionality of the CF7 Conditional Fields PRO plugin (by Jules Colle), a “select” field can actually generate several repeated fields: [your-field__1], [your-field__2], [your-field__3] etc. Unfortunately only the “parent” field can be retrieved via the Field Mapper.

    For now, to fill this gap and work around the problem, I manually edit the select in your html form and replace it:
    <select class="cf7-field-list"><option value="your-field">your-field</option></select> by:
    <select class="cf7-field-list"><option value="your-field__1">your-field__1</option><option value="your-field__2">your-field__2</option><option value="your-field__3">your-field__3</option></select>

    This does the trick without editing the source code and allows me to save the setting. But of course I have to redo the operation if I want to modify the form.

    Would it be possible to add this support in a future version of your plugin?

    Please let me know if you need more details.

    Have a nice day,
    Sylvain

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author maximum.software

    (@maximumsoftware)

    Hi,

    Yes, I have been planning to add support for mapping regular CF7 mail-tags to PDF fields. That feature would solve your issue nicely.

    I’ll post here when the feature is released.

    Thanks.

    Thread Starter sylvain68

    (@sylvain68)

    Hi,

    Thank you very much for your prompt feedback.

    I close this topic 😉

    Thanks in advance.

    Best regards,
    Sylvain

    Thread Starter sylvain68

    (@sylvain68)

    Hi @maximumsoftware,

    I hope you are doing well.

    After upgrading to version 1.3.2, I saw that it was now possible to edit fields in the “Field Mapper” tool and I thank you for that 😊!

    This allows me to solve part my request concerning repeater fields, like “your-field__1”,your-field__2 etc…).

    On the other hand, I have just noticed a change after filling in the PDF forms.
    Even if some values of the CF7 repeated fields are empty (for example nothing in [your-field__2]), I now find in my PDF form field the name of the shortcode of the CF7 field, that is “[your-field__2]”, instead of it being empty.

    Of course I have checked that no value was posted for [your-field__2] (nothing in CF7 e-mail where I use this shortcode with option to clear the empty line).

    If the CF7 field is not empty, this works fine (value well filled in the PDF form field).

    Could you please check this on your side?

    Thanks in advance and have a great day,

    Sylvain

    Plugin Author maximum.software

    (@maximumsoftware)

    I am having issues reproducing your problem. I suspect this happens due to the “[your-field__2]” tag not being defined. This might need to be fixed in the ‘CF7 Conditional Fields’ plugin, however, give me some time to get to the bottom of this issue.

    Thread Starter sylvain68

    (@sylvain68)

    Hi @maximumsoftware,

    Thank you for your prompt feedback and sorry for the delay of mine.

    FYI I opened a ticket through your website with the relevant plugin .zip attached.

    Thanks in advance and have a nice day.

    Sylvain

    Plugin Author maximum.software

    (@maximumsoftware)

    Hi,

    Unfortunately, I don’t believe I can do much about this problem. This is an issue with the repeater feature itself. This also happens when you try using the “[field__1] [field__2] …” mail-tags in the CF7 email message. The “CF7 Conditional Fields PRO” needs to augment CF7 to process these mail-tags and return empty values for cases when there is nothing filled in but the mail-tags are still being used by user. I believe I saw a hook for doing this in CF7.

    Please contact the “CF7 Conditional Fields PRO” plugin developer and ask for this fix.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Compatibility with CF7 Conditional Fields PRO “repeater” feature’ is closed to new replies.