0

I have a content type with few required fields. When I try to save a node without filling any data, all the required fields throw an error message saying the field is required, but the required fields aren't highlighted in red. Only the select fields are highlighted; date fields or text fields aren't.

enter image description here

This is happening when I use the Zero Point theme (version 7.x-4.10).

How should I proceed with troubleshooting?

2
  • Hi @kiamlaluno, please let me know if you need more information.
    – shablm
    Commented Aug 31, 2017 at 23:49
  • Hi, any suggestions/ tips on this please?
    – shablm
    Commented Sep 6, 2017 at 2:12

1 Answer 1

0

This was because of CSS overwritten by Zero Point theme, added more classes in my custom CSS file:

    /* .form-item input.error, */
    .form-wrapper .fieldset-wrapper .form-item input.error,
    .form-item textarea.error,
    .form-item select.error {
            border: 2px solid red;
    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.