cluelessPHP;11064607 wrote:Today I learned don't ask about validation on SO proofs :p
The answer is "both". For security you do it on the back-end (PHP, or whatever the server is running); but you also do it on the front-end for UI/UX, because nobody wants to fill out a form, accidentally miss one field, and then endure a page load and possible loss of form data and have to do the whole freaking form again....
It's the same common courtesy extended by a teacher/professor who, when you hand in your semester final exam, takes a quick look and says, "You forgot to put your name on top" ... and hands it back for this quick correction.
And yeah, I guess S.O. has its place (it's certainly 'carved one out' for itself), but you'll find that at least here we're a tad forgiving and don't have these draconian policies about duplicated content, question quality, etc.
Of course, those were the issues programmers always HATED about help forums, so that explains, in large part, how SO was able to carve that niche so quickly and so deeply ....