How can I combine these two (HTML,JAVA>) <forms> into one?

OSS

New member
is it possible to make these two forms into one form..so when the button is pressed for "submit" in FORM 1 it will trigger both action/methods for the two forms

Form 1

<form class="query-box" onsubmit="return submitChange();">
<p>
<textarea cols="50" class="keyboardInput" id="source" autocomplete="off"></textarea>
</p>
<p>
<select name="src" id="src">
<option value="hi">TEST1</option>
</select>
<input type= "image" onclick = "swaptext(document.getElementById('src').value,document.getElementById('dst').value)" src="images/arrow_refresh_small.png";/>
<select name="dst" id="dst">
<option value="en">TEST2</option>
</select>
<input class="button" type="submit" value="Submit"/>
</p>
</form>


FORM 2

<form method='get' action='index.php'>
THIS IS A TEST:
<input type='text' name='word' />
<input type='submit' name='commit' value='Search' />
</form>

Also is it possible to have the <input type="text > for FORM 2 be the <Textarea> from FORM1

I know it's confusing , but any thoughts are appreciate it . thanks
 
Back
Top