TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tell HN: Please stop blocking my form submissions with client-side validations

6 pointsby zachallaunabout 2 years ago
Okay, I’m not talking to _you_ specifically (unless I am), but for the love of whatever gets you up in the morning: stop blocking form submissions with client-side validations.<p>It absolutely blows my mind how frequently I cannot submit login forms after auto-filling from a password manager. I’ve gone as far as to memorize the last character of some randomly generated passwords for certain offenders because I have to literally delete the last autofilled character and then retype it to remove the “you must enter a password” validation.<p>Seriously, just stop disabling forms on the client-side! Your server _needs_ to handle these cases anyways. Just let me idiotically submit my autofilled password and then yell at me later if it’s really not there.<p>Thank you.

1 comment

throwawaysleepabout 2 years ago
At least for us, all the translation stuff is frontend, so returning errors from the server is not straightforward. We backend people don&#x27;t want to deal with anything user related. Sure, the backend needs to validate that it exists&#x2F;is safe, but it probably doesn&#x27;t do any of the other validations.
评论 #35204339 未加载