This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi All!
I have a basic contact form set up using ajax. if validation fails I would like to display to the users what failed. How I do this within October?
I am so used to Laravel/Vue that I am a bit lost here.
Thank You!
The documentation has examples for this https://octobercms.com/docs/ajax/extras#usage-example
Thanks for the reply!
Is there docs on how to build out the form with these extra features with the form builder? Or should I just manually do it?
Manually. But there is nothing complicated. If the backend is already set up, then all you need to do is add to form-header
data-request-validate
and add span blocks for each fields
<span data-validate-for="fieldName"></span>
Pavel Chernov said:
The documentation has examples for this https://octobercms.com/docs/ajax/extras#usage-example
How i hate when people answer like this ...
1-5 of 5