budbud
01-26-2005, 09:48 PM
I have decided to create an aup for a network setup and i have created a small html page i have little experience with forms and would like some assistance if possible.
here is the code
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<p>policy here!!!</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>If you agree to these terns and conditions check the box and click submit.</p>
<form name="form1" method="post" action="http://www.yahoo.co.uk">
<p>
<input type="checkbox" name="checkbox" value="checkbox">
I agree to the terms and conditions</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
<p> </p>
</body>
</html>
Basically I want to link the checkbox and the submit button together so that they cannot continue without selecting the box and then it forwards them onto a site for instance www.yahoo.co.uk. If at all possible I would like a prompt if they do not check the box basically stopping them from going anywhere but the page until the accept the policy which i will put it once i get the form working correctly. Im new it may look stupid but i dont have much html experience so any help or suggestions would be greatly appreciated.
Thanks
Bud
not wanting too much maybe i could also add a field where the username must be put in and gets sent in file to an email address or a log file would be handy if this is possible!!
here is the code
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<p>policy here!!!</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>If you agree to these terns and conditions check the box and click submit.</p>
<form name="form1" method="post" action="http://www.yahoo.co.uk">
<p>
<input type="checkbox" name="checkbox" value="checkbox">
I agree to the terms and conditions</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
<p> </p>
</body>
</html>
Basically I want to link the checkbox and the submit button together so that they cannot continue without selecting the box and then it forwards them onto a site for instance www.yahoo.co.uk. If at all possible I would like a prompt if they do not check the box basically stopping them from going anywhere but the page until the accept the policy which i will put it once i get the form working correctly. Im new it may look stupid but i dont have much html experience so any help or suggestions would be greatly appreciated.
Thanks
Bud
not wanting too much maybe i could also add a field where the username must be put in and gets sent in file to an email address or a log file would be handy if this is possible!!