javascript form validation suddenly stops working
<p>in my code i called a javascript function onsubmit of a form and inside the function making validation to my fields by using formname.fieldname.value and it works fine but suddenly it doesn't work display me an error "formname is not defined".</p>

<p>Thanks in advance </p>
