Form Validation for Contact Form

This commit is contained in:
2023-01-13 09:55:01 -08:00
parent a5eb1f2edf
commit ada9203824
3 changed files with 37 additions and 142 deletions
-22
View File
@@ -3521,28 +3521,6 @@ header.fix_style.white_header {
margin-bottom: 20px;
}
/* For the err msg */
.contact_page_section .contact_inner .contact_form form .form-group span{
font-size: 12px;
color: tomato;
padding: 3px;
display: none;
}
.contact_page_section .contact_inner .contact_form form .form-group input:invalid ~ span{
display: block;
}
/*
input:invalid[focused="true"]{
border: 1px solid red;
}
input:invalid[focused="true"] ~ span{
display: block;
}
*/
.contact_page_section
.contact_inner
.contact_form