Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23320

    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)

    #119366

    Hi,

    Edit the field with the checkbox, look for Form Element Validation, select is not empty.

    Regards,

    Ismael

    #119367

    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

    #119368

    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

    #119369

    It works :) Thank you very much Ismael!!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Pflichtfeld Checkbox’ is closed to new replies.