Support » Plugin: Conditional Fields for Contact Form 7 » version 0.2 gives a continues spinning arrow after submitting

  • Resolved Herre

    (@herrevisser)


    Hello today i’ve updated to v0.2 and since that moment i can’t send contact form 7 forms anymore. Even forms without conditional output, like the default form won’t submit anymore.

    I’m using Divi (elegant themes)

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter Herre

    (@herrevisser)

    additional information,
    i just tried it with the default theme, and all plugins except for contact form 7 and this one and i keep the same issue… a spinning icon after trying to send.

    Hello,

    not a big help, but I’ve got the same problem.

    Thread Starter Herre

    (@herrevisser)

    Well glad to hear I’m not the only one. I’ve switched to another Plugin but hope to see a solution for cf7 too.

    Hello,

    Same problem here… I hope to see a solution soon.

    EDIT – QUICK FIX
    I had downloaded and stored the previous version of the plugin. You can download it here : https://cloud.samuelchopard.ch/index.php/s/GKnnJgABomUAbrS

    Then

    1. Go to your ftp
    2. In /wp-content/plugins/, delete the folder “cf7-conditional-fields”
    3. Unzip the downloaded file
    4. Upload the plugin files to /wp-content/plugins/

      As soon as the a newer version of the plugin that fixes the problem is available, I recommend you to update your plugin.

      I hope that helps.

      Kind regards,
      Samuel Chopard

    • This reply was modified 5 years, 9 months ago by Swissprice.

    thanks for the temporary solution

    Yeah i had the same issue. Deactivated and deleted the latest plugin via the dashboard, reinstalled the previous version and working perfectly again. The settings were saved too therefore didnt need to set any conditions up again.

    Plugin Author Jules Colle

    (@jules-colle)

    i’d like to see a form where it keeps spinning. I haven’t been able to reproduce this so far..

    Hello,

    I’ve tried to find the cause, but I couldn’t succesfully find anything.
    I’m using a relative heavy cf7 setup, with custom css and php (three hooks)

    add_filter( ‘wpcf7_form_elements’, ‘mycustom_wpcf7_form_elements’ );
    //adding my own shortcodes to cf7
    add_filter( ‘wpcf7_form_tag’, ‘gruppenkurse_select’, 10, 2);
    //adding a dynamic select field
    add_action( ‘wpcf7_before_send_mail’, ‘CF7_pre_send’ );
    //taking the cf7 submission before sending the email

    also plugins such as:
    Contact Form 7 – Dynamic Text Extension
    Contact Form 7 MailChimp Extension
    Contact Form DB

    But even by deactivating all the hooks and plugins, my form still spins forever.
    I’ve downgraded the version again now, but I’m ready to update again for you to see, when you tell me when you want to have a look at it, I’m not willing to have it online all the time.

    Mine failed using the following:
    Contact form 7 – Version 4.5.1
    Contact Form 7 Conditional Fields – Version 0.2
    No other CF7 plugins (or extensions) are being used.

    Contact Form 7 Conditional Fields – Version 0.1.7 works perfectly.
    Hope this helps.

    Thread Starter Herre

    (@herrevisser)

    I will try to setup a clean empty site for you to check it out within a few hours.

    Thread Starter Herre

    (@herrevisser)

    @jules, for your info I just send you an email with an empty WP install. This only contains CF7, CF& conditional output 0.2 and the standard Theme.

    Hopefully, this helps you further.

    Best regards,
    Herre

    Plugin Author Jules Colle

    (@jules-colle)

    Thanks Herre, it’s been a great help.

    @herrevisser, @ktweb, @velolabor, @swissprice: I have attempted to fix the issue. To try if it solves your problems, please install the development version of the plugin https://downloads.wordpress.org/plugin/cf7-conditional-fields.zip

    (Alternatively, if you feel comfortable coding the changes yourself, you need to go to line 285 in contact-form-7-conditional-fields.php and wrap the foreach function with the folowing if-statement:

    if (is_array($conditions)) {
        foreach (...) {}
    }

    Please let me know if this solves all problems.

    You’re a genius! Thanks this worked just fine for me.

    Steve Hogan

    (@stevehoganstevehogancom)

    I just tried the development version. Same problem. I get this PHP error code

    [22-Oct-2016 22:42:05 UTC] PHP Warning: DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 4 in /home/steveh8/public_html/warpmeta.com/wp-content/plugins/cf7-conditional-fields/contact-form-7-conditional-fields.php on line 228

    Reloaded Version 0.1.7 and the site works. No PHP errors. Hope this helps.

    SJH

    Plugin Author Jules Colle

    (@jules-colle)

    @stevehoganstevehogancom the code that @stevish contributed to version 0.2 requires that the HTML markup of the form is valid HTML.

    Divs cannot occur within p tags. But because by design WordPress will wrap stuff inside p-tags and I’m using divs to display the groups, this will result in a PHP warning. For most production websites however PHP warnings are suppressed, so most people will not suffer any consequences from this.

    To fix this I’ll change the groups to span-tags instead.

    As a temporary work-around, you can disable PHP warnings in your PHP ini file, or by adding a piece of code to your functions.php file. Here’s how: http://stackoverflow.com/a/1645674/296430

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘version 0.2 gives a continues spinning arrow after submitting’ is closed to new replies.