4 ms·
I'm convinced a lot of the JS form validation can now be removed in favor of HTML5 form element attribute. You can just set the form action URL to your asp end
by Ayesh 6y ago
I'm convinced a lot of the JS form validation can now be removed in favor of HTML5 form element attribute.
You can just set the form action URL to your asp endpoint, which will validate data again, and show the post form on errors, or 302 redirect to the target/form if valid.
- Multicomp 6y agoYeah this was the plan for me, I just wanted to make sure that I wasn't doing something in the old boring way when I should do it in the new fun way.