Hello All -
I'm trying to settle on a type of coding routine that I can learn, be comfortable with, and then use for any project that comes my way.
Next up on the list is what type of validation I should use post-form-submission. I've slaved for weeks over one php-based concept that works very nicely (the form is re-called upon submit and any required fields not filled in - or not filled in correctly - are highlighted in red with the previous field content re-displayed.). Very nice and I was quite proud of myself.
Then I was reading somewhere that server-side validation shouldn't be used because of increased server strain. Darn! So, I bow to the feet of the masters here to get their opinion. On the one hand, I really like .php and use it for everything I can; conversely, I don't know a lick of JS to save my life and am concerned over the possibility that some (yes, apparently very, very few) users have js. disabled in their browsers - even though this is apparently pretty unlikely, when you're doing a business application that NEEDS correct validation, this could become a real problem real fast.
the type of forms I typically deal with aren't that long; however, I'm on a project now with tons and TONS of forms that a user needs to fill out - and which need validation - and so the "server-strain" question is beginning to gnaw at me.
The thought, as well, of re-doing all my php validation work in JS doesn't, as one might imagine, thrill me either.
So, what do the good guys and gals here say about this topic?