How to stop the refereshing of form fields
Posted on 2002-06-22
I have a web form with quite a few fields (name, address etc). It's posts the data to a mysql database. When the form is filled in and there is a duplicate name, I echo a message to the user that the username already exists. However, the problem I have is with the other fields. All the info they entered (about 20 fields worth) is deleted and they have to retype them. I want the user not to have to re-fill out all the fields. How can I achieve this?
Thanks in advance.