Intégrer plusieurs Form dans un seul formulaire
Bonjour,
Dans mon site j'ai plusieurs sections et chaque section a sa propre page de recherche du type :
Code:
1 2 3 4 5 6
| <form action="section1/search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="inputborderopera" name="query" size="20" value="Recherche" onfocus="if(this.value=='Recherche')this.value=''" onblur="if(this.value=='')this.value='Recherche'" />
<input type="submit" class="sidebarinputopera" value="chercher" />
</form> |
la 2eme section : <form action="section2/search.php" method="post">
etc...
Je souhaite réaliser un seul formulaire avec une liste déroulante comme ça
Code:
1 2 3 4 5 6 7 8 9 10 11
| <form action="???" method="post" id="quicksearch">
<input type="text" name="search" value="" />
<select name="search_type">
<option value="section1">section1</option>
<option value="section2" selected="selected">section2</option>
<option value="section3">section3</option>
<option value="section4">section4</option>
<option value="section5">section5</option>
</select>
<input type="submit" name="submit" class="submitbutton" value="Chercher" />
</form> |
Merci d'avance:D