Ciao a tutti...ho un problema e spero che qualcuno di voi possa aiutarmi a risolverlo.
In sostanza sto creando un piccolo sito x gestire dei sondaggi.Per selezionare il sondaggio ho creato una casella di selezione.Come posso prendere l'output della select per fare in modo che quando premo il bottone "go",si colleghi alla pagina del sondaggio scelto nella select?
Ho provato a gestire il tutto con due form,ma non riesco a farlo funzionare.
Posto il codice:
<html>
<head>
<title>SELEZIONA SONDAGGI</title>
</head>
<body>
<center><FONT SIZE=4>Scegli il sondaggio</FONT>
</br>
</br>
</br>
<form method="POST" id="form1">
<select name="ListaSondaggi">
<option value="S1" selected>Sondaggio_1
<option value="S2">Sondaggio_2
<option value="S3">Sondaggio_3
<option value="S4">Sondaggio_4
</select>
</form>
</br>
</br>
</br>
</br>
</br>
<FONT SIZE=4>Inserisci i tuoi dati</FONT>
</br>
</br>
<form method="POST" action="index.php" id="form2">
<table bgcolor=#FF69B4 bordercolor=#000000 border=3>
<tr>
<td>Nome</td>
<td><input type="text" id="nome"></td>
</tr>
<tr>
<td>Cognome</td>
<td><input type="password" id="cognome"></td>
</tr>
<tr>
<td colspan=2><center><input type="submit" id="Go" value="Go"/></center></td>
</tr>
</table>
</form>
</center>
</body>
</html>
Vi ringrazio anticipatamente per una vostra eventuale risposta.Ciao