Not able to pass form data to another form field