WordPress.org

Forums

Contact Form 7
Validation Error (4 posts)

  1. TheDusk
    Member
    Posted 1 year ago #

    Hello, I'm having an annoying problem and it's with Contact form 7

    So I've made a bit of code in contact form, added some javascript which allows the form to be more interactive, but when all is said and done I get this annoying message: # Validation errors occurred

    So I'd want to know what I am doing wrong

    Just to let you guys know I don't have any * in the whole form, so nothing needs to be selected and all I'm using is some drop down selectors and text areas, oh and 2 radiobuttons... No date pickers. Also I changed email area into text box so that should remove one more problem, if anyone has had similar problem pleas let me know how you solved it.

    <div id="contactForm">
    Kaj rabite?
    [select prva id:prva include_blank class:contactForm "Kuhinjsko desko" "Vrtno Garnituro" "Klop"]

    <div class="hide" id="hide1">
    Kakšne oblike:
    [select druga id:druga include_blank class:contactForm "Z naravnim drevesnim robom mala" "Z naravnim drevesnim robom srednja" "Z naravnim drevesnim robom velika" "Iz lepljenega lesa pravokotne oblike "]
    </div>
    <div class="hide" id="hide5">
    Vrsta lesa:
    [select tretja id:tretja include_blank class:contactForm "Bukev" "Češnja" "Javor"]
    </div>
    <div class="hide" id="hide2">
    Streha:
    [select cetrta id:cetrta include_blank class:contactForm "Da" "Ne"]
    </div>
    <div class="hide" id="hide7">
    Oblika noge:
    [nggallery id=12]
    [radio radio-681 id:radio1 "Prva oblika" "Druga oblika" "Tretja oblika" "Četrta oblika" "Peta oblika" "Šesta oblika" "Sedma oblika" "Osma oblika" "Deveta oblika" "Deseta oblika"]
    </div>
    <div class="hide" id="hide8">
    Oblika miza in sedala:
    [select peta id:peta include_blank class:contactForm "Sestavljena iz letvic z razmikom 1cm" "Sestavljena iz letvic z razmikom 1cm + posoda za led" "Lepljenles"]
    </div>
    <div class="hide" id="hide4">
    Kaksen lepljen les:
    [select petnajsta id:petnajsta include_blank class:contactForm "Lepljenles in posoda za led" "Lepljenles in naravni drevesni rob" "Lepljenles in naravni drevesni rob in posoda za led"]
    </div>
    <div class="hide" id="hide9">
    Dimenzije:
    [select sesta id:sesta include_blank class:contactForm "1.2 m" "1.5 m" "2 m" "2.5 m" "Po meri, dopišite na koncu"]
    </div>
    <div class="hide" id="hide10">
    Zaščita:
    [select sedma id:sedma include_blank class:contactForm "Surova vrtna garnitura ( brušena – pripravljena za barvanje )" "Premazana z brezbarvnim BIO oljem z dodatkom voskov"]
    </div>
    <div class="hide" id="hide11">
    Vrsta lesa:
    [select osma id:osma include_blank class:contactForm "Smreka" "Hrast" "Drugo (dopišite na koncu)"]
    </div>
    <div class="hide" id="hide12">
    Dostava na dom:
    [select Deveta id:deveta include_blank class:contactForm "Ne" "Da (dopišite naslov na dnu"]
    </div>

    <div class="hide" id="hide3">
    Naslonjalo:
    [select deseta id:deseta include_blank class:contactForm "Z naslonjalom" "Brez naslonjala" "Naslonjalo iz dveh desk z naravnim drevesnim robom"]
    </div>
    <div class="hide" id="hide14">
    Kakšno naslonjalo:
    [nggallery id=13]
    [radio radio-681 id:radio2 "Prva oblika" "Druga oblika" "Tretja oblika" "Četrta oblika" "Peta oblika" "Šesta oblika" "Sedma oblika" "Osma oblika" "Deveta oblika" "Deseta oblika"]
    </div>
    <div class="hide" id="hide15">
    Dimenzije:
    [select sestnajsta id:sestnajsta include_blank class:contactForm "1.2 m" "1.5 m" "2 m" "2.5 m" "Po meri, dopišite na koncu"]
    </div>
    <div class="hide" id="hide16">
    Zaščita:
    [select sedemnajsta id:sedemnajsta include_blank class:contactForm "Surova vrtna garnitura ( brušena – pripravljena za barvanje )" "Premazana z brezbarvnim BIO oljem z dodatkom voskov"]
    </div>
    <div class="hide" id="hide17">
    Vrsta lesa:
    [select osemnajsta id:osemnajsta include_blank class:contactForm "Smreka" "Hrast" "Drugo (dopišite na koncu)"]
    </div>
    <div class="hide" id="hide18">
    Dostava na dom:
    [select devetnajsta id:devetnajsta include_blank class:contactForm "Ne" "Da (dopišite naslov na dnu"]
    </div>
    <div class="hide" id="hide13">
    <p>Ime
    </br> [text your-name] </p>
    <p>E-mail naslov
    </br> [email your-email] </p>
    <p>Telefon (ni obvezno)
    </br> [text your-subject] </p>
    <p>Dodatno
    </br>[textarea your-message] </p>
    <div class="Simple-button">[submit "Pošlji"]</div>
    </div>
    </div>

    This is the code in Contact Form 7 it's just a bunch of buttons hidden in divs, but it's doing what's it's supposed to do, it's just that it does not send anything ...

    Thanks in advance

    http://wordpress.org/plugins/contact-form-7/

  2. buzztone
    Member
    Posted 1 year ago #

    This is most likely due to a Javascript conflict with either your current WordPress theme or one of the other plugins you are using - see Contact Form 7 Email Issues - there is a link there that covers Javascript Conflicts.

    Use Firebug or Chrome Dev Tools to examine Javascript conflicts in detail.

    Remember that a problem in one script can cause issues in another.
    For example, some jQuery errors can stop jQuery processing any more script, which can make the culprit hard to find. A jQuery error in one of your plugins or your themes javascript files can stop jQuery processing before it gets to the CF7 script.

    See http://wiki.simple-press.com/installation/troubleshooting/plugin-conflicts/ for general guidance.

    Problems are mostly due to not enqueing Javascript correctly, which is poor coding practice that creates a strong risk of conflicting with other themes and plugins - see http://wp.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins/

  3. TheDusk
    Member
    Posted 1 year ago #

    I checked that out, but it's still not working, I'm only running 1 plugin next to Contact form 7 (next gen gallery) and it makes no difference if it's active or deactivated or deleted...

  4. buzztone
    Member
    Posted 1 year ago #

    Please include a link to your Contact Form 7 form. If others here are able to understand your actual problem, they may be able and willing to offer a possible solution.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic