validations are not working in fancybox #33

Closed
yashwinkumar opened this Issue Aug 3, 2013 · 2 comments

Comments

Projects
None yet
3 participants

when i kept :validate => true in simple form, it is working perfectly fine without fancybox.

But it is not working in a fancybox. I need to work in a fancybox.

After you've instantiated Fancybox you'll need to call:

  $form.validate()
  $form.enableClientSideValidations()

It's due to the fact that the form isn't in the DOM when Client side validations is first instantiated.

Contributor

tagliala commented Jan 20, 2017

Hi,

thanks for reporting this.

I'm closing some old issues, hoping that this is not an issue anymore.

If it is still an issue, please provide a reproducible test case and I will consider reopening.

Contributing guidelines

@tagliala tagliala closed this Jan 20, 2017

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