I have a html/php web page and I have 2 Forms on it.

Form2 contains a select box and I was able to get the value from that just fine.

Form1 contains a php list of all users in a table.
I have a hidden field that I want to put the value of the select box in Form2 (

<form name="Form2">
<select name="sortme" id="sortme" onchange="getValue(this);document.Form1.sortme2.value=this.value;">

and pass that value to a hidden field I have in Form1 (on same page).

<form name="Form1">
<input type='text' value='' name='sortme2' id='kath'>

How do I do this?