Problem with contact form
The code i use is:
<a href="#" onclick="javascript:validateonsubmit();">Validate on Submit</a>
function validateonsubmit(){
var myForm=document.getElementById("calc");
var SS= Spry.Widget.Form.validate(myForm);
if(SS==true){
myForm.submit();
}
}
In some reason it gives me strange error codes when i type something in, but i need that when i click submit, and some fields are empty, it would tell, that this field must be filled in.
Thanks!
WSO 003 - How To Create A Sales Page Generator