Keep the user input on form fields not being validated
I have server side validation which is working perfectly. If the validation fails the user input is retained in the fields that are being validated.
However I have a few field that I do not need validation on them and can be left blank if the user wishes. I tried using echo _POST but the this did not work as the validations are using sessions. How would I retain the user input in fields that are not being validated. Is there a way to validate a field that will allow a blank entry so that a session will be created so I can use it to echo the user input, or is there a better way.
Many thanks as always for your help