Forums

PHP

This topic is locked

validation checking from PHP code

Posted 16 Aug 2011 06:21:19
1
has voted
16 Aug 2011 06:21:19 shadoiqw kolo posted:
I have a webpage which requires filling out details by anonymous user, and in the bottom I have put in the captcha control.
During clicking of the submit button, I do the validation and throw out the error. However , the user has to enter all the form data again if the validation fails because all fields get reset.
Is there a way to prevent form fields from being reset when validation fails while running PHP script?

Reply to this topic