Hello,
So I have a PHP page where I can enter my name, address, phone #, etc. I have some of these fields designed to be required information. If I do not enter something in the required fields, then information I have in other fields are lost when I submit the information.
For instance let's say "Name", "Address", and "Phone number" are set as required fields, If I were to enter my name and address, but not my phone number and submitted the information, the page would refresh and display "Each field is required", however the fields marked name and address would be empty. How do I prevent that from happening?