We are now developing an immense website, and developing the PHP validation to backup our usual validation method is really going to take a toll on us.
You might get away with doing that, depending on your target group.
Professionally I dont believe this is the way to go. It could work on personal projects/websites, but not for companies or commercial solutions.
You should be able to do the exact same with Jquery as well, so on the next project just take a little time and create the form framework/system to handle this for you. In the long haul you will save a lot of time and frustration by doing this.
As the others mention, you will need to validate any date that is submitted on the server side before using it in your application. There is no exception for this.
Fantastic feedback, really appreciate it.
I was actually considering going a more drastic road, and not even allowing users with javascipt disabled to see the forms.
Take note that in many circumstances a framework is not entirely applicable when you are working on a costume project. Unless you use a framework like Cake, you are going to be developing all of those validations from scratch. And its not just about form validations, menus, jquery lightboxes , they will all need a fall back.
Good point felgall.
I guess its the same principle that has lead developers to build website that work with those assistive technologies in order to democratize content.
At first I fount it a bit far fetched that a private company would be held liable for limiting access to users without a specific technology installed, but then I came across this:
Blind Web surfers sue Target - Technology & science - Tech and gadgets - msnbc.com
If you dont mind me asking, how would you archive this?