this is going to take some extensive hand coding to accomplish, and is not supported.
could probably do it using an ajax call that would take the ID of the selected contact, query the contacts database, then populate the fields with the contact information.
quick google search of:
ajax populate form fields
returned this tutorial that seams to match what your trying to accomplish: