2 form fields conflicting with each other
Hi got a problem with two separate form fields.
one is a search field and the other is a donation form which users can give the amount of the donation.
now the search field is working properly without any problem. but the donation form has some issues which i have not found a fix for.
the problem is when ever u press the donate button it does noting now i have checked this with the firefox console and it seems the donation button is interfering with the search field. So when i have typed in something in the first form which is the search form field and pressing the donate button in the donation form the search form is getting its results. Now i have narrowed the problem down to which lines of the two form are conflicting with each other and those lines are if i am correct here:
Code:
<input id="search" name="search" class="searchinput" placeholder="Search..." type="text">
<p><input class="donationbutton" name="submit" value="donate »" type="submit"></p>
Hope you guys understand my problem.
Code:
<div id="searchbox">
<div id="formy" name="search_form" method="get" action="">
<input id="search" name="search" class="searchinput" placeholder="Search..." type="text">
<div id="search_buttons_container">
<button type="submit" id="searchbutton"></button>
</div>
<div class="donate">
<form action="idealcheckout/checkout.php" method="post">
<fieldset style="border: 0px none;">
<div id="wrapper">
<h2><span class="teg4">Amount:</span></h2>
<p><label class="label">$ </label><input name="amount" value="" type="text"></p>
<p><input class="donationbutton" name="submit" value="donate »" type="submit"></p>
</div>
</fieldset>
</form>
</div>
</body>
</html
is there anyway to fix please let me know.
thanks in advance