kiril botev - 2007-05-25 20:47:42 -
In reply to message 2 from Manuel Lemos
hi,
i'm very interested of youres classes. I try to send form information with AJAX but the form was not validated and i add this /if(!ValidateForm(document.getElementsByName('".$form->NAME."')[0])) return false;/
Function GetJavascriptConnectionAction
...
$javascript = "if(!ValidateForm(document.getElementsByName('".$form->NAME."')[0])) return false; .....
to validate form before to send to server. May be error is mine but i cant find a way to validate my form information before to send by AJAX to server