Hi Matt, thank you very much! Your JS library looks very interesting and I certainly will play with it. I see that the radio group has not been implemented, is this something coming out soon?

The web form has radio buttons with multi-selection options.

Cheers,

tee

On Feb 12, 2008, at 2:12 AM, Matt Fellows wrote:

Hi Tee,

What John is saying is that AJAX is JavaScript yes, but it can also make calls to the server (using the XMLHttpRequest object) thus it validates using server-side technologies such as PHP. But what is misleading is that validation using AJAX can be disabled quite easily simply by disabling JavaScript rendering a nice big security hole. That is where the true server-side validation must double-check.


If you are interested, I wrote a small JS library that may be of use to you. It is a plug'n'play like JS file to automagically validate basic forms which is totally unobtrusive and promotes separation of concerns. To add extra fancy AJAX stuff is a matter of overriding a class and implementing your specific needs. I've still got a bit of work to do on it, but you can certainly get an idea.

The url is: 
http://www.onegeek.com.au/articles/programming/javascript-form-validation.php

I'd be happy to help you if you need, just shoot us through an email.



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to