April 7, 2017 at 12:41 am On 4.5.1 validationSuccess and validationError are not firing #92757
On 4.5.1 validationSuccess and validationError are not firing. I’m using the events, not the properties. And I’m not using an HTML Form, I’m using a DIV tag to set up the entire validator. Everything works beautifully up to the point where I should be coming through the validation. Neither event fires.
I have seen the fiddles but I don’t think there’s a working example of a validator that’s attached to a DIV tag that also configures validationSuccess or validationError.
Is there a problem with using a DIV tag and getting those events? The DIV tag is the DIV for the window that contains all my form fields.
Thank you.April 7, 2017 at 10:54 am On 4.5.1 validationSuccess and validationError are not firing #92787
HristoParticipantApril 7, 2017 at 11:48 am On 4.5.1 validationSuccess and validationError are not firing #92791
Thanks for the speedy response. Actually I just found the issue. My dialog has a radio button group. I had a function as a rule. That killed it. When I use simply ‘required’ as the rule on that radio, all is well. There was nothing wrong with the function. It worked well.
So it seems like you cannot have a radio and use a custom function as a rule. It must be ‘required’.April 7, 2017 at 12:05 pm On 4.5.1 validationSuccess and validationError are not firing #92793
Actually same is true for a simple input text field. If you use a custom function to validate, the function could validate fine but the success and error functions don’t fire.
I have a dependency case where I only want to validate the input text if a particular radio id checked. I don’t think I can do that the way things are currently set up in the validator.
Not sure why a custom function on these field types would break the validator.April 18, 2017 at 1:17 pm On 4.5.1 validationSuccess and validationError are not firing #92963
Please, take a look at this topic, it will be useful:
You must be logged in to reply to this topic.