|
HTML form by
| | Now |
HTML form by
You can use Javascript window or php header(location: |
| April 28, 2009 | 8:26 pm | Report abuse | Reply |
HTML form by
Use Javascript.
<html>
<script type="text/javascript">
function switchit()
{
var frm = document.forms[0];
if (frm)
{
if ((frm.myfield1.value = "no") || (frm.myfield3.value = "no"))
return 0;
else
{
// change the action for the form to a different web page and submit it
frm.action="someotherpage.php...
frm.submit();
}
}
}
</script>
<body>
<form action="switchit();" type="post">
<select name="myfield1">
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
<input type="text" name="myfield2">
<select name="myfield3">
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
</form>
</body>
</html> |
| April 28, 2009 | 2:23 pm | Report abuse | Reply |
HTML form by
I have a HTML form with two drop down boxes with the options 'Yes' and 'No' in each. When submitted, i want the form to direct the user to one page if both responses are yes, and another page if either response is no. Can anyone give me some very simple guidelines on how to do this, or where i could find a nice tutorial about it? |
| April 28, 2009 | 2:38 am | Report abuse | Reply |
|
|
Go to www.favicon.cc and create your 16x16 icon then scroll down the page and dow www.slogbox.com
recommend
you can make ur blog like me
www.slogbox.com
recommend
|
 |
Ver resultados en otros idiomas |
 |
| |
|
|
 |
|
 |
|
|
|
Wait
Add your comment
Thank you for helping us improve the quality of this site.
|