• Resolved Nightjar

    (@nightjar)


    Hello,
    I’m using:

    * Contact Form 7 4.7
    * Contact Form 7 Conditional Fields 1.3.2
    * Contact Form 7 Signature Addon 4.1.1
    * Multifile Upload Field for Contact Form 7 1.0.1

    When a user makes any input error (and the CF7 warning appears), on the page being reloaded the conditional fields are missing completely, making impossible to complete the form.

    Please note the two conditional fields does contain shortcodes related with Signature Addon and Multifile Upload Field plugins for CF7.

    Do you have any idea on how I can fix this problem?

    Thanks

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

    (@jules-colle)

    can you share a link to the live form?

    Thread Starter Nightjar

    (@nightjar)

    Yep. It’s still under construction on a temporary webspace:

    https://sito.cartabianca.com/modulo-adesione-unam/

    You can just send out an empty form and see how the conditional fields:

    “Firma touch/mouse”
    “Allega documento firma”

    (placed near the end, before the privacy statement acceptance and controlled by “Seleziona modalità di immissione firma” field) just disappear after the page reports the error.

    Any help would be greatly appreciated!

    • This reply was modified 7 years, 5 months ago by Nightjar.
    Plugin Author Jules Colle

    (@jules-colle)

    would you mind creating a new test form for me, with as few input fields as possible, but that is still causing the problem? It would be a lot easier for me to debug. Thanks for the help

    Thread Starter Nightjar

    (@nightjar)

    I have updated your plugin to version 1.3.4 and the problem is gone. What did you do?

    Plugin Author Jules Colle

    (@jules-colle)

    very little ??

    In some cases there was a PHP notice showing if you had WP DEBUG enabled. This could have messed up the Ajax response you would get from the server during validation.

    Anyway, I’m glad it’s solved! Feel free to leave a small review if you have the time ??

    PS: to answer your question, I changed $form->id (causing the notice) to $form->id()

    • This reply was modified 7 years, 5 months ago by Jules Colle.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fields disappear on input error’ is closed to new replies.