You might want to consider using sessions, if you have them available. By defining a session variable, you would not have to declare it over and over again. Then, simply use your session variable in the "value=" part of your <input> tag or between your <textarea> tags.
When posting, you check to see if these variables have any value assigned to them. If not, create and or append to an error message. If the error message is blank, continue processing the data. If not, pass the error message back to the submission form to be displayed, so the user knows what they are missing.
Because you are using session variables and have listed them in your posting form, these values should now reappear back in their respective boxes.
This works well for <input type="text"> and <textarea> boxes. If you are using dropdown boxes, check boxes or radio buttons, it gets a little more complicated...