Wie kann ich das “Checkbox”-Pflicht-Feld “I have read and understood your reasonable terms*” wie bei anderen Pflichtfelder Rot darstellen, wenn dies nicht ausgefüllt ist?
(http://kriesi.at/themes/enfold/shortcodes/contact-forms/
Hier werden alle Pflichtfelder rot hervorgehoben bis auf das Checkbox-Pflichtfeld)
Hi,
Edit the field with the checkbox, look for Form Element Validation, select is not empty.
Regards,
Ismael
Hi Ismael,
I already selected on checkbox field “not empty” and make the checkbiox required.
a) When I check the required checkbox I get any error message. this is good!
b) But if I don´t check the required checkbox I don´t get a error message or RED highlight like other required fields “Name, Email etc”.
How can get the RED highlight also for required checkbox field?
Thanks
Hi,
Can you give us a link to your contact page? You can actually target the checkbox then add a style to it when empty. Mine looks like this
.error#element_avia_check_1 {
border: 1px solid red;
}
This will only be applied when the user leave a required checkbox empty. You might need to add the style on each checkbox that you have.
Regards,
Ismael
It works :) Thank you very much Ismael!!!