javascript error form validation: all inputs fields are cleared on submitting
<p>am using a form to register the user on my website and i have a captcha security on it. Everything is working well and good but the only problem that i am facing is that if i enter a wrong captcha or somehow the page refreshes , all the data entered by the user is wiped out.</p>

<p>what i wish to achieve is that even if the captcha entered is wrong and the form is submitted , the form should have all the fields intact as the user filled in excluding the captcha field.</p>

<p>How can this be done? My form is html and by using javascript im validating it</p>
