News for hackers. Stuff that matters.
Re:HTML Form Validation is heavily underused by francislavoie on Tuesday October 29, 2024 @08:17AM (#41983102)
I'm not being user hostile. I'm being cognizant that the skill levels of users is extremely wide, and to best serve everyone from a UX standpoint, it's best to limit the characters accepted in the input. It protects the user, helps them avoid mistakes.
Re:HTML Form Validation is heavily underused by hluska on Tuesday October 29, 2024 @12:07PM (#41985688)
> Users are too stupid.

That is the definition of user hostile. Why lie? You make yourself and your organization look bad.

Re:HTML Form Validation is heavily underused by AnimalMuppet on Tuesday October 29, 2024 @12:20PM (#41985916)
Not everyone who disagrees with you is lying. Accusing people is a bad look here on HN. "Assume good faith" is the standard.

You can say "You're wrong". "You're lying", though, is almost never appropriate, and is, in itself, quite hostile.

Re:HTML Form Validation is heavily underused by hluska on Tuesday October 29, 2024 @01:04PM (#41986655)
Again “users are too stupid”. That’s remarkably hostile to users and doesn’t belong.
Re:HTML Form Validation is heavily underused by francislavoie on Tuesday October 29, 2024 @01:53PM (#41987433)
Please read my other comments. I'm not using "stupid" in the derogatory sense. I'm using it as a recognition of the skill/knowledge gap between technical and non-technical users.
Re:HTML Form Validation is heavily underused by AnimalMuppet on Tuesday October 29, 2024 @01:39PM (#41987246)
Fine. But "you're lying" is also hostile, and also doesn't belong.

(I see that you edited that bit out of your post, so thanks for listening...)

Re:HTML Form Validation is heavily underused by guappa on Tuesday October 29, 2024 @08:36AM (#41983239)
From reading your comments, you're extremely user hostile and I hope to not come across anything you work on because they are the very definition of antipatterns
Re:HTML Form Validation is heavily underused by francislavoie on Tuesday October 29, 2024 @08:43AM (#41983280)
It's a decimal number field. There's no reason to have any other characters than [0-9\.-]* You're overreacting. You're attacking me for no reason.
Re:HTML Form Validation is heavily underused by guappa on Tuesday October 29, 2024 @09:50AM (#41983826)
Except if one copied it and it has a space in the beginning and your amazing script won't let one paste it.