Hello! I installed both the field validation and clientside validation module, however all the custom validation errors for my form fields which i made with the "Field Validation" module, are not shown with clientside validation module after clicking on submit button, however validation error of required fields, which are set to required under normal "edit field" options, are shown properly.

Validations from "field validation" modules are shown after reloading page, not dynamicly as clientside validations.

I tried both reccommended and dev version of both modules and couldn't find a way to add custom validations from "Field Validation" module to show the same dynamic way.

Comments

Risha’s picture

Issue summary: View changes

improving the question

attiks’s picture

Did you enable the necessary sub modules?

Risha’s picture

Yes ofcourse i did. The thing is that if i set field as required using the normal "edit field" way then the clientside validation will work as it should. But if i set a custom validation condition error with "field validation" module then the error won't show up, untill the page is refreshed and reloaded, so they both work as intended, it seems like they r not connected.

edit: there is no difference in validation error display on my form if submodule "Clientside Validation Field Validation" is enabled or disabled, it makes no difference.

haggins’s picture

Did you write your custom rule in Javascript as well?
https://drupal.org/node/1324772

haggins’s picture

Issue summary: View changes

bettering it