Skip to content

u/hungryfoolish

In this archive from May 2009 to Jan 2026

2
posts
4
comments
0
media
25
score

Top posts

Top comments

  1. Disable JavaScript in your browser
  2. Try to use the form with bad values
  3. Cry when it doesn't do what it's supposed to.

If your boss counters with 'nobody disables js' then remind him that hackers are not normal people. They know something as trivial as disabling js and how to do it. Also, sometimes JS doesn't download (or download entirely) for a number of other reasons like network glitches or slow network etc.

In other words, it's an absolute ludicrous thing to do all your form checking in JS and not any on the server side. JS can be used to compliment and augment the experience of validation, but server side checking always had to be there.

10 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.