I created that issue on Buddies plugin cause I'm testing with registration page first, but I believe it's a more global request as, for what I understood, it rely on Toolbox classes to handle form submission.
So maybe it's a toolbox request, but I think we should be able to use the octobercms way to handle fields error, using data-request-validate on form, and data-validate-for on elements.
Hello,
When I'm working with octoberCMS, I used to use inline field validation with ajax forms triggered with data-attribute API.
I'm discovering buddies, and the whole shopaholic ecosystem, I can't figure out how to make it works. Here is the code of my page.
I created that issue on Buddies plugin cause I'm testing with registration page first, but I believe it's a more global request as, for what I understood, it rely on Toolbox classes to handle form submission.
So maybe it's a toolbox request, but I think we should be able to use the octobercms way to handle fields error, using
data-request-validate
on form, anddata-validate-for
on elements.Thank you