Text Box Validation

JavaScript and client side scripting.

Moderator: General Moderators

Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Post by Straterra »

I think 1 advantage that PHP has over JS is that if you have alot of forms with JS validation, then you are going to add alot of bandwith usage just from the transfer of the JS. But, if you use PHP, it only sends what it needs to.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Ilovetoast: Actually I thought you made some good posts about js which considered important aspects of programming design such as code maintenance and you backed up the pro-js case with some solid arguments.

Perhaps a php site is always going to have a slight bias towards server-side. I know I am a bit of a js luddite - I gave my reasons.

A well-argued case for and some comments "against" made for a good topic I think. It's always far too easy to rebound off each other on a discussion board.
Post Reply