Re: Poll of sorts: Javascript Form validation or PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Terion Miller wrote:

> I have a huge form to validate and wonder which is better javascript
> validation or php, the page is a php page, I actually put js
> validation on it but then it stopped working (stopped inserting into
> the db) not sure if that had anything to do with it....
> What does everyone prefer?

I don't think it's about the developer preference, it's about the user. 
Javascript enables lots of checking at data entry time, and can improve
the overall user experience.  If you're not particularly concerned with
the user experience, don't bother with javascript. 


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux