3 ms·
The best solution is to use HTMX (or similar) to hook into your server-side validation so that you only have validation code one place (on the server), but you
by NoGravitas 2y ago
The best solution is to use HTMX (or similar) to hook into your server-side validation so that you only have validation code one place (on the server), but you don't have to wait for complete form submission before finding an error in a field.
Example: https://htmx.org/examples/inline-validation/ https://htmx.org/examples/inline-validation/