Default value from DB appears blank before validation occurs
I am having something strange happening using form validation. The validation is working perfectly and if validation fails all the information is still retained which is great. But if I visit the page before filling it in the fields should be filled by information in the database, but all the fields remain empty. I have checked to make sure there is information in the DB and I did attach the records to the validation when it asked and I can see them in the code but the fields always a remain blank.
I have attached the file,
Many thanks as always for your help.