How to pass submitted values from one form to another