WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Fails, says "Email Addres seems invalid" for all fields (6 posts)

  1. ShawnBP
    Member
    Posted 10 months ago #

    I dont know why, but it always fails on every field. Even non email fields.

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

  2. buzztone
    Member
    Posted 10 months ago #

    Please describe your problem in detail and include a link to your CF7 form if possible. If others here are able to understand your actual problem, they may be able and willing to offer a possible solution.

  3. ShawnBP
    Member
    Posted 10 months ago #

    No problem

    Here is where my form is located:
    http://www.shawnbradleyphotography.com/contact/

    Here is the code I am using:
    <p>Your Name (required)
    [text* your-name] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    <p>Your Event Date
    [email your-event date] </p>

    <p>Phone (required)
    [email* your-phone] </p>
    <p>Best Time To Call
    [text your-best time to call] </p>

    <p>Ceremony / Reception Location
    [email your-location] </p>
    <p>Are You Interested in Having PhotoBooth Included in a Package?
    [email your-Photobooth in package?] </p>
    <p>How Did You Hear About us?
    [text your-hear about us] </p>
    <p>Anything you would like to let us know or do you have any questions?
    [textarea your-message] </p>

    <p>[submit "Send"]</p>

  4. buzztone
    Member
    Posted 10 months ago #

    You are using email field types for "Event Date", "Phone", "Ceremony / Reception Location" and "Are You Interested in Having PhotoBooth Included in a Package". That is likely to cause validation problems as the CF7 plugin will be looking for valid email addresses for those fields.

    A number of your other CF7 tags also look wrong e.g "your-best time to call" should probably be "your-best-time-to-call".

    Might be several other errors but already too many for me to keep looking.

    Would suggest you review the CF7 documentation for each CF7 tag you are using to find further errors.

  5. ShawnBP
    Member
    Posted 10 months ago #

    Thanks Buzztone
    I changed almost all of my tags and it works much better. Im having some issues with my date however. I would like to have my answer be the way I want MM-DD-YYYY however it only passes if its in this format of YYYY-MM-DD. How do I change that? I would actually prefer a calendar where they can choose the date visually.

    <p>Your Name (required)
        [text* your-name] </p>
    
    <p>Your Email (required)
        [email* your-email] </p>
    
    <p>Your Event Date ex. MM-DD-YYYY </br>
       [[date date-659 min:06-01-2013 max:12-31-2013]</p>
    
    <p> Your Phone Number</br>
       [tel tel-901]
    
    <p> Best time to call/text</br>
       [text text-210]
    
    <p> Ceremony/Reception Location?</br>
       [text text-81]
    
    <p> Are you interested in having Photobooth at your wedding?</br>
       [radio radio-691 "Yes" "No"]
    
    <p> How did you hear about us?</br>
       [text text-864]
    
    <p>Anything else we should know or any questions you may have?
        [textarea your-message] </p>
    
    <p>[submit "Send"]</p>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  6. buzztone
    Member
    Posted 10 months ago #

    The new CF7 date tag is a HTML5 date input type. Currently, only some modern browsers support this input type. See http://www.wufoo.com/html5/types/4-date.html for the low down on the new HTML5 form element. Assume you looked at http://contactform7.com/date-field/

    Note also that [[date date-659 min:06-01-2013 max:12-31-2013] should be [date date-659 min:06-01-2013 max:12-31-2013]

Reply

You must log in to post.

About this Plugin

About this Topic