Jump to content

Form fields, checkboxes, and radio button lose data on refresh


Scott B

Recommended Posts

I have created a pretty extensive form. The problem I am having is that if one of the required fields isn’t filled out and you submit the form, it comes up with the error message but it erases all the other entries that were made, except the required fields. Is there a way to keep that info in place so a person doesn’t have to fill out all these fields again? Please help, I’m still fairly new to PHP and have tried numerous things but none have worked.

 

Thanks,

Scott

Hey mjdamato, I really appreciate you trying to help me out. However, I have found a solution. I was simply missing the <?php echo $_POST['somename']; ?> in the value field. Something very basic of course.

 

Thanks again,

Scott

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.