0

Right now, I am using Clientside Validation. Everything works perfectly. But I would like to remove the error message which I set it showed at the top of the form. In the meantime, I would like to keep the error class which is added to my field input.

I have searched a lot about this but didn't get lucky. I know I might need to modify some code in sites/all/modules/clientside_validation/clientside_validation.js file, but I don't know which part I should touch.

Here is a sample screenshot:

enter image description here

Does anyone have any idea about this?

1
  • use hook_form_alter and create your own custom validation.
    – No Sssweat
    Dec 8, 2017 at 0:24

1 Answer 1

0

You can hide error message using CSS or you can use Inline Form Errors which allow you to hide the error message.

1
  • Eventually, I used js code cause that error message is controlled by js from the module. But using CSS is also working for hiding most of my form error message. Thank you very much~
    – jmu
    Dec 26, 2017 at 15:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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