Looking for the best possible AJAX/PHP Form Validation.

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
I am looking for the best available form validation script there can possibly be. =]

  • graceful degration (if the client does not have JS enables, go to PHP)
  • cross-browser compatibility
  • simple to install
  • uses unobtrusive JS
  • able to be used more than once. (object-orientated JS?)
so far I've looked at:
http://particletree.com/features/degradable-ajax-form-validation/
http://jqueryfordesigners.com/using-ajax-to-validate-forms/

I might throw in a little goodie bag if someone helps me find the perfect one!
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
of course I googled it up. =)

i found that site, but it didn't give me a clear consice way to do it. or im just lazy, when i see all that type.
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
A good idea would be to code it up, as it could provide you with some nice skills. However, it would be hardly scalable and probably tied into your code.
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
yeah thats what i don't want it to be, tied into my code
because im sure i will be using that more than once
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
In my website, my first implementation, I was using a custom built framework, and each time I had to change something, I had to dig in my own framework code to set it up correctly. I switched to a third-party framework, distanced my code from the framework and now I can easily add and remove parts of the website (although everything is linked to the framework - easier management). I can also reuse parts of the website in other website.

So all this to says that you're right, unless you have a lot of time to create a generic AJAX/PHP validator, it's better to use third-party tools.
 
Top