wpcf7-validation-errors alert-warning
-
Hi There,
Thank you for a wonderful plugin. I would like to report what I think is a coding issue for you to consider.
CF7 v5.1.9 – works fine
CF7 v5.2 – incorrect [response] code generated on page render BEFORE form submissionFIRST PAGE RENDER
When the contact form page is first rendered, here is the [response] code generated:<div class=”wpcf7-response-output alert alert-warning“></div>
CODE ISSUE
The “alert-warning” class causes CF7 CSS render (in my case due to CSS customization) a red box without any text. Normally default CF7 CSS would show a 1px border.When you click on the form SUBMIT button, (without filling in field values) here is the code generated:
<div class=”wpcf7-response-output alert style>One or more fields have an error. Please check and try again.</div>
The “alert” class causes the CF7 plugin CSS to hide the alert box border as transparent, this CSS code has not been customized by myself.
REVERSE BEHAVIOUR?
The alert and alert-warning behavior seems to be REVERSED from normal operation.Shouldn’t the alert box be hidden when the page first renders and then when there is a submission problem show the alert-warning CSS?
Thank you for your consideration of the issue.
Aly
The page I need help with: [log in to see the link]
The topic ‘wpcf7-validation-errors alert-warning’ is closed to new replies.