Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
NoGravitas
on Oct 29, 2024
|
parent
|
context
|
favorite
| on:
HTML Form Validation is underused
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/
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Example: https://htmx.org/examples/inline-validation/