Technically speaking the answer then lies with jQuery/Javascript for applying values into fields, though that's not my skill set and I couldn't avise you specifically. If someone else in the community knows, then I'd defer to their experience on that.
Regarding your form, are you trying to fulfill user experience where returning visitors' details are displayed to them?