Error message being stripped of html
-
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!
-Billhttps://www.ads-software.com/plugins/simple-basic-contact-form/
- The topic ‘Error message being stripped of html’ is closed to new replies.