Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ajax validation mode for form component #105

Open
PubliAlex opened this issue Mar 3, 2021 · 0 comments
Open

Add ajax validation mode for form component #105

PubliAlex opened this issue Mar 3, 2021 · 0 comments

Comments

@PubliAlex
Copy link

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

image

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

@PubliAlex 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant