Re: Newbie q: Make user select "yes" to advance to specified URL

From: lallous (lallous_at_lgwm.org)
Date: 11/15/04


Date: Mon, 15 Nov 2004 12:07:47 +0200

Using JavaScript:

<body onload="document.myform.nobtn.focus();">
<form name="myform" method="post" action="afterpost.php">
<input type="submit" name="nobtn" value="no">
<input type="submit" name="yesbtn" value="yes">
</form>
</body>

--
Elias
"tHatDudeUK" <thatdudeuk.spammersareevil.@rapidplay.com> wrote in message 
news:2vqq7jF2nrc5dU1@uni-berlin.de...
> As subject:
>
> I'm sure this is possible but I can't figure out how to do it.
>
> My intention is to have a page with some questions, the default answer 
> will be "no", the user must select "yes" before they can be redirected to 
> a specified URL.
>
> Any help would be much appreciated.
>
> Thanks in advance,
>
> Regards,
>
> tHatDudeUK
> 


Relevant Pages