I am trying to figure how I can transfer data from a form located in one window to a form located in another window. Both windows are already open. The first window contains the form named 'form1' with the values filled in. A new window named 'second_window' is opened and on it is an HTML page with an empty form named 'form2'. The text input element named 'your_name' in form 'form1' is filled with the value 'John Doe'. I need to get that value in 'your_name' on 'form1' to the text input element in 'form2' named 'realName'.
How could I go about accomplishing the above?