How to edit form submission and pass a value between two forms