HTML view form and link that gets data from form input

HTML view form and link that gets data from form input

I want to build an html view with the following:

1. Embedded Form
2. An html link that opens a record to edit based on a select value in the embedded form.


How do i pass a selected value in the embedded form to another part of my html view so i can open the correct record in the html link?

Is there a way to get the value selected in an form that is embedded in an html view and use this value for other parts of you html view?

=================

The reason i am trying to set this us is because i need a solution to the following problem:

I have a main form with a look up field. 
The look up field is set up so users can add new records to the look up form.

Problem is if user adds a new record, i need a way for them to also be able to edit the record after it has been added. It seems after submitting a new record to the look up field there is no way to go back and make an edit to it if necessary while still working on the parent form.  The only way to edit the look up field record would be to leave the form and go to the form for the look up. I want to be able to edit this from the parent form.