shawnrberg
Programmer
I have this question in half a dozen forums and I can not find an answer.
I have a php form that when a visitor overlooks a field, an error message is sent to the top of the page when they hit "Submit" telling them "Name Required", "Address Required", etc.
As it stands now, when the page reloads and the error message prints to the top of the form, ALL the form fields are reset to nothing; forcing the visitor to re fill the ENTIRE form.
Any code suggestions to retain the previously entered info so the visitor doesn't have to retype EVERYTHING?
I'M DYING HERE!
Sincerely,
shawnrberg
I have a php form that when a visitor overlooks a field, an error message is sent to the top of the page when they hit "Submit" telling them "Name Required", "Address Required", etc.
As it stands now, when the page reloads and the error message prints to the top of the form, ALL the form fields are reset to nothing; forcing the visitor to re fill the ENTIRE form.
Any code suggestions to retain the previously entered info so the visitor doesn't have to retype EVERYTHING?
I'M DYING HERE!
Sincerely,
shawnrberg