How can I prepopulate some fields in a form based on what has been entered in another form?