Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #511906

    I have two simple contact forms on our site and both of them have validations set (Name field set to “is not empty” and email field set to “must be a valid email address”). However, the only field which seems to have working validation is the last field on the form, Message. If I try to send an empty message, that field is highlighted as expected and the form will not submit without some text in the field. On the other hand, if that field has text in it and all the other fields (Name, email, etc.) are empty, the form will submit with a problem, ignoring the validations. This becomes a problem because we’re getting emails from our site with no way to contact the original sender to address their issue.

    We are using a Caching plugin (W3 Total Cache) to reduce load times, but I’m not sure if that would affect Contact Forms (and if it does, I’m not sure how I would exclude just those pages from being cached.

    #511908

    Hi!

    I’m unable to reproduce it on my end – http://screencast.com/t/WJMaBP0dXawW (form doesn’t send).

    Best regards,
    Josue

    #511913

    Thanks, Josue. I turned off Page Caching and was able to get the main Contact form working again, but the Contact form on our Support page (which gets more traffic) is still not validating properly. The only difference between the two is that the Contact page form is the sole element on the page and the Support page form is inside a 1/2 column which is nested inside a color section. Could that cause a conflict?

    #512079

    Hi!

    Hm, i still can’t send the form without filling all the fields – http://screencast.com/t/0jqbcF8uxG

    Best regards,
    Josue

    #512446

    Thanks for looking into this, Josue.

    I think the problem was completely on our end with the Cache plug in. When I turned off Page Caching and the server refreshed, the forms seem to maintain their validation now. Sorry for the inconvenience.

    ~M

    #512456

    No problem, glad to help :)

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.