Hi
I have read on http://docs.telerik.com/kendo-ui/framework/validator/overview the following
"Any HTML5 constraints applied to a form (required, type, etc.) will be checked before custom rules are evaluated. Custom rules will not run until a input passes the basic HTML5 constraints."
Could I clarify this statement. If I have 10 controls on a page. Say the first two are required and the last 8 have a custom rule attached to them. At the moment the behaviour I am seeing is that if control 1 or 2 fails the required validation then the last 8 will not fire the custom rule. Once 1 and 2 are populated (and passing the required rule) then the custom rules are then run. Is this expected behaviour or is there a problem in my solution? (I am not sure from the statement if the logic of "HTML5 constraints must pass before custom rules are run" is at the form level or at each individual input level)
Assuming the above is expected behaviour. Currently we have custom validation rules that enforce "required if" functionality. So a field may be required if a checkbox is ticked for example. Ideally I would like all my validation rules to fire at once and not the two step approach currently available. Is there a way to run the custom validation rules even if the HTML5 constraints applied to a form (required, type, etc.) fail.
Thanks
Jake
I have read on http://docs.telerik.com/kendo-ui/framework/validator/overview the following
"Any HTML5 constraints applied to a form (required, type, etc.) will be checked before custom rules are evaluated. Custom rules will not run until a input passes the basic HTML5 constraints."
Could I clarify this statement. If I have 10 controls on a page. Say the first two are required and the last 8 have a custom rule attached to them. At the moment the behaviour I am seeing is that if control 1 or 2 fails the required validation then the last 8 will not fire the custom rule. Once 1 and 2 are populated (and passing the required rule) then the custom rules are then run. Is this expected behaviour or is there a problem in my solution? (I am not sure from the statement if the logic of "HTML5 constraints must pass before custom rules are run" is at the form level or at each individual input level)
Assuming the above is expected behaviour. Currently we have custom validation rules that enforce "required if" functionality. So a field may be required if a checkbox is ticked for example. Ideally I would like all my validation rules to fire at once and not the two step approach currently available. Is there a way to run the custom validation rules even if the HTML5 constraints applied to a form (required, type, etc.) fail.
Thanks
Jake