IIS Server - Newbie needs help w/form processing script

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > June 2005 > Newbie needs help w/form processing script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Newbie needs help w/form processing script
BAM

2005-06-20, 2:48 am

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



John Cesta

2005-06-20, 6:05 pm

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


Alok Kumar

2005-06-20, 6:05 pm

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

BAM

2005-06-20, 6:05 pm

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:
[vbcol=seagreen]
> try http://www.asp101.com/ or http://www.aspin.com/home/tutorial. There are
> may script that you need.
>
> Alok
>
> "BAM" wrote:
>
Kristofer Gafvert [MVP]

2005-06-25, 5:50 pm

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[vbcol=seagreen]
> 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:
>
There are[vbcol=seagreen]
to[vbcol=seagreen]
processing[vbcol=seagreen]
variables that[vbcol=seagreen]
to cause[vbcol=seagreen]
called..."[vbcol=seagreen]
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com