Ok, so I found a little on how to do it with javascript, but I think I am still missing elements. I found that the code on the recieving page needs
alert(opener.document.forms.formid['inputname'].value);
I dont know where that goes in the html code. Also I don't know what action is used on the input page in the form. I am assuming it it something like action="javascript" or something like that.
Thanks