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..."

Re: Newbie needs help w/form processing script by John

John
Mon Jun 20 08:57:45 CDT 2005

On Mon, 20 Jun 2005 00:18:02 -0700, BAM
<BAM@discussions.microsoft.com> 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..."

I would search asp resource sites and find a good tutorial. There are
plenty of them available.

John Cesta

The CPU Checker - Monitors your CPU % while you sleep
LogFileManager - IIS LogFile Management Tool
WebPageChecker - Helps Maintain Server UpTime
DomainReportIt PRO - Helps Rebuild IIS
http://www.serverautomationtools.com
>
>


RE: Newbie needs help w/form processing script by AlokKumar

AlokKumar
Mon Jun 20 11:26:11 CDT 2005

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..."
>
>
>

RE: Newbie needs help w/form processing script by BAM

BAM
Mon Jun 20 13:41:04 CDT 2005

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..."
> >
> >
> >

Re: Newbie needs help w/form processing script by Kristofer

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..."
> > >
> > >
> > >