TypeError: Cannot read property 'validators' of undefined #450

bolshakov opened this Issue Dec 18, 2012 · 5 comments


None yet
5 participants

client_side_validations (3.2.1)
client_side_validations-formtastic (2.2.1)

I'm getting this error while trying to submit the form:

TypeError: Cannot read property 'validators' of undefined

It happens here:

_ref = {
  'submit.ClientSideValidations': function(eventData) {
     if (!$form.isValid(form.ClientSideValidations.settings.validators)) { // <-- this one
       return eventData.stopImmediatePropagation();

any luck? I am having the same issue!

Same issue here

Check your form_for tag and see if you are adding ID or any other html attributes in a valid way. I changed it at bunch of places and it automatically started working.

@tagliala tagliala closed this Jul 5, 2016

I'm experiencing the same issue. form.ClientSideValidations.settings is undefined. Any help?


tagliala commented Feb 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment