Kristofer
Sat Jun 25 14:53:49 CDT 2005
You have a comma in between "viewAvailableClasses" and "Then", which
shouldn't be there.
And "Then" should be on the same line as the If, so it would look like;
If iRadioGroup1=viewavailableclasses Then
Response.Redirect "connect.asp"
--
Regards,
Kristofer Gafvert (IIS MVP)
www.gafvert.info - My Articles and help
www.ilopia.com
BAM wrote:
> Thank you. I did find what I needed. However, when trying to run it, I
keep
> getting the following message and I don't know why:
>
> Error Type:
> Microsoft VBScript compilation (0x800A03F9)
> Expected 'Then'
> /myweb/options.asp, line 9, column 36
> If iRadioGroup1=viewavailableclasses, Then
>
> where line 9=If iRadioGroup1=viewavailableclasses,
> line 10=Then Response.Redirect "connect.asp"
>
> "Alok Kumar" wrote:
>
> > try
http://www.asp101.com/ or
http://www.aspin.com/home/tutorial.
There are
> > may script that you need.
> >
> > Alok
> >
> > "BAM" wrote:
> >
> > > I created a form with a group of radio buttons. Intent is for user
to
> > > select a button and click submit activating a page with a form
processing
> > > script . In the form processing script, after declaring the
variables that
> > > will hold the values for the chosen radio buttons, what is the code
to cause
> > > the action:
> > > "If a certain radio button is selected, a certain ASP page will be
called..."
> > >
> > >
> > >