Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
bolshakov opened this Issue · 3 comments

3 participants

@bolshakov

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
       eventData.preventDefault();
       return eventData.stopImmediatePropagation();
@nvlimbachiya

any luck? I am having the same issue!

@johnlabarge

Same issue here

@nvlimbachiya

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.