You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with the shopaholic ecosystem. Very good until now except the bad surprise to see that the ajax form validation system completly bypass october way of doing form validation, preventing the use of extra features like inline form validation using <div data-validate-for="my_field"></div> or other very useful features.
In addition, your actual validation system only return the first field that throw an error whereas ValidationException allow to return an array of fields, with an array of messages allowing to do something like that when you submit an empty form with several required fields
To conclude, I think you should provide a new mode when dealing with form component "ajax with validation" that would handle errors the october way. Like that, people that want to use that mode can do it.
Best regards
The text was updated successfully, but these errors were encountered:
PubliAlex
changed the title
Add ajax validation mode for form component that would validate fields "the october way"
Add ajax validation mode for form component
Mar 3, 2021
Hello,
I'm working with the shopaholic ecosystem. Very good until now except the bad surprise to see that the ajax form validation system completly bypass october way of doing form validation, preventing the use of extra features like inline form validation using
<div data-validate-for="my_field"></div>
or other very useful features.In addition, your actual validation system only return the first field that throw an error whereas ValidationException allow to return an array of fields, with an array of messages allowing to do something like that when you submit an empty form with several required fields
To conclude, I think you should provide a new mode when dealing with form component "ajax with validation" that would handle errors the october way. Like that, people that want to use that mode can do it.
Best regards
The text was updated successfully, but these errors were encountered: