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

    (@lord_mord)

    And I also tried add_filter(‘cf7msm_force_session’, ‘__return_true’);

    Plugin Author webheadcoder

    (@webheadllc)

    Please try this with version 1.4.3. Also please use Chrome’s Incognito window or Firefox’s Private window to be sure nothing was cached. Also please make sure you have the hidden step tag on each page of your form.

    Thread Starter Lord_Mord

    (@lord_mord)

    I upgraded to 1.4.3. The hidden step tag is on every page of the form. I emptied the cache and used a private window. But all this made no difference. And by the way: If I say, I don’t know, if it was always this way, I mean, I don’t know, if the error appeared from the beginning, BUT I could send messages without problems. I just didn’t test it very often.

    I don’t know if it helps, but this is the page in question: https://www.hochmuth-augsburg.de/wordpress/buehnen/direktanfrage/

    Plugin Author webheadcoder

    (@webheadllc)

    It looks like you have something that is causing the form to submit via ajax. This plugin does not support ajax. The on_sent_ok in #3 on the instructions must go to another page.

    Thread Starter Lord_Mord

    (@lord_mord)

    I’m completely stuck. Yes there is some ajax, that should make the form slide instead of loading a new page. But that worked once.

    Now I did a complete new WordPress install ( https://www.hochmuth-augsburg.de/test/one/ ), used Twentyfifteen, installed CF7 and CF7 Multi Step and just copied the forms from the other page. No ajax, no other modifications. The outcome is, that the second page isn’t loaded at all. Maybe I did something wrong, this is starting to make me nervous, as this page should be finished before christmas.

    This is how my contact form looks:

    <p class=”marginbottom”>Ich wünsche ein konkretes, für mich v?llig unverbindliches Angebot über die Anmietung einer Arbeitsbühne. Dies sind meine Anforderungen:</p>
    <p class=”marginbottom”>Bauvorhaben
    [text bauvorhaben] </p>
    <p class=”marginbottom margintop”>Wo befindet sich Ihre Baustelle?</p>
    <p>Stra?e*
    [text* strasse] </p>
    <p>PLZ*
    [text* plz] </p>
    <p class=”marginbottom”>Ort*
    [text* ort] </p>
    <p class=”margintop”>Welche Arbeitsh?he
    [text hoehe]</p>
    <p>Wieviel Tragkraft ben?tigen Sie im Korb?
    [text pers]Person/en[text kg]Kg Material</p>
    <p>Welche Antriebsart ist m?glich/sinnvoll?
    [text antrieb]</br>[checkbox antriebsart use_label_element “Diesel” “Elektro” “Batterie” “egal”]
    [hidden step “1-3”]
    <p>[submit “Weiter”]</p>
    <span class=”pflicht”>*<span>Pflichtfelder</span></span>

    This is what I have under additional options:
    on_sent_ok: “location.replace(‘https://www.hochmuth-augsburg.de/test/two/&#8217;);”

    Thread Starter Lord_Mord

    (@lord_mord)

    Forget it for the moment. I made some progress. I will report back, if I have some news.

    Thread Starter Lord_Mord

    (@lord_mord)

    I replaced the on_sent-stuff with a PHP based version, that I found on the internet:

    add_action(‘wpcf7_mail_sent’, ‘ip_wpcf7_mail_sent’);
    function ip_wpcf7_mail_sent($wpcf7)
    {
    $on_sent_ok = $wpcf7->additional_setting(‘ip_on_sent_ok’, false);

    if (is_array($on_sent_ok) && count($on_sent_ok) > 0)
    {
    wp_redirect(trim($on_sent_ok[0]));
    exit;
    }
    }

    It can be used like the JS one.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘1.4.2. upgrade didn't fix the "please fill out…"-error’ is closed to new replies.