Hi,
The form data hash variable picks up the value from the database, so if you are trying to dynamically set the value in the browser while the user is filling up the form, you'll need to use some custom JavaScript or you could use the AJAX Subform
Hi William
The Simple Leave app in Marketplace has an example of field to field value copy (In ApplyLeave form).
Do download this free app and try it out.