• Resolved wrakocy

    (@wrakocy)


    Hello,

    On the options panel, I’ve set Success & error messages -> Error Message to the following snippet:

    <p class='scf_error'>All fields are required.</p>

    Problem is, when form validation fails, the snippet is sent to the browser stripped of its html (and, as a consequence, cannot be accessed via CSS).

    The relevant URL is here: https://www.firstdistrictcoffee.com/contact/

    To repro the problem, simply visit that page, click the “SEND EMAIL” button (without filling out the form), view the page’s source and search for “All fields are required”. The p tags should be missing…

    I’m using WordPress version 4.2.1 and SBCF version 20150317.

    Any suggestions?

    Cheers!
    -Bill

    https://www.ads-software.com/plugins/simple-basic-contact-form/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Bill,

    I see what you mean, will investigate further and get it fixed for the next update. Thank you for reporting!

    Thread Starter wrakocy

    (@wrakocy)

    Awesome. Cheers Jeff, and thanks for the lightning fast follow up!

    -Bill

    Hi Bill, got this fixed up in the latest version, 20150507. Cheers!

    Thread Starter wrakocy

    (@wrakocy)

    Fantastic! Cheers Jeff!!

    Thread Starter wrakocy

    (@wrakocy)

    One more request for your consideration Jeff: I’m wondering if, in future versions, it might be possible provide an option to position the “Error Message” above the “Custom content before the form”, instead of just below it. Thought I might be able to hack it with some CSS, but thus far haven’t had success…

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message being stripped of html’ is closed to new replies.