I have this form and i've some question about subject selecting..
If i want to link into my form from another page whit specific subject selected - how do i do that?
Here is my form code:
<form name="form1" action="sendmail[contact].php" onsubmit="return formCheck(this);" method="post"> <table border="0"> <tr> <td class="formtext">Nimesi :</td> </tr> <tr> <td><input class="formfield" type="text" size="30" name="name"></td> </tr> <tr> <td class="formtext">Sähköposti :</td> </tr> <tr> <td><input class="formfield" type="text" size="30" name="email"></td> </tr> <tr> <td class="formtext">Viestin aihe :</td> </tr> <tr> <td><select class="formfield" name="subject" onChange="displaydesc(document.form1.subject, thetext1, 'textcontainer1')"> <option value="">Valitse aihe</option> <option value="Virhe sivustolla">Virhe sivustolla</option> <option value="Tutoriaaleista">Tutoriaaleista</option> <option value="Viikon sivusto">Viikon Sivusto</option> <option value="Viikon kuva">Viikon Kuva</option> <option value="Muu">Muu</option> </select> </td> </tr> <tr> <td class="formtext">Viesti :</td> </tr> <tr> <td><textarea class="formfield" rows="8" cols="50" name="message"></textarea></td> </tr> <tr> <td><br /><input class="submit_button" type="image" src="images/button_laheta.gif"></td> </tr> </table> </form>
I'm looking for sollution which could be like
http://www.myserver.com/contact.php?subject_id=2
Hope everyone understod what i mean..
Thanks in advance...
