06-26-2009, 05:03 PM
|
#5 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
It's fine to use JavaScript, and better for usability. However, to use ONLY JavaScript to validate forms is very bad. JavaScript is a client-side scripting language and can therefore be manipulated, and disabled.
If you're going to validate using JavaScript, then you still need the validation in PHP.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|