Hacker News new | past | comments | ask | show | jobs | submit login

The RegEx input checker on the client-side is not a replacement for server-side validation. It doesn't prevent someone from sending requests to the server with bad data, so don't forget to make sure that all requests have valid data.

What it does is help the interface to be more responsive so the user doesn't have to wait for a round-trip before finding out that they forgot to put in an email address / other valid input.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: