Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Want to "call" validate (not have it validate on submit)
posted

I am blending some old style ASPX with the new Ignite stuff and I need to via javascipt call the validation on my masked input Ignite control and get something like a true or false back from the individual validation.

The only thing I see in the samples shows on submit but that's not what I want to do.

Thanks in advance!

Parents
  • 140
    posted

    I see there's a validate method on the igEditor which I am told to go to when looking up docs on igMask  but I can't seem to figure out the magic to call it

    https://www.igniteui.com/help/api/2013.2/ui.igeditor.html

       if ($('#maskEditor1').validate () == false)  // comes up undefined

       if ($('#maskEditor1').igEditor( "validate", false ) == false)   /// says cannot call methods on igEditor prior to initialization; attempted to call method 'validate'

Reply Children