Hello All,
I have done a search and cannot seem to find a hint on clearing form values once submitted. All I am doing is submitting a form to my database and redirecting the user to another web page . Upon doing that I wil click the back button and the data I have entered in the text boxes of the form is still there. I have not done any sort of validation on input data. How would I integrate clear the fields of the text boxes after submitting the data to my database? Basically once the user has submitted his data I do not want it to appear in the form if say he hits the back button or navigates to the same page from another link in the site. Thanks in advance.
Kyle
I have done a search and cannot seem to find a hint on clearing form values once submitted. All I am doing is submitting a form to my database and redirecting the user to another web page . Upon doing that I wil click the back button and the data I have entered in the text boxes of the form is still there. I have not done any sort of validation on input data. How would I integrate clear the fields of the text boxes after submitting the data to my database? Basically once the user has submitted his data I do not want it to appear in the form if say he hits the back button or navigates to the same page from another link in the site. Thanks in advance.
Kyle