Different users need to go to different pages

L

Lauren

I need some programimg assistance for the following scenario:
I have created a basic form using option groups. All questions on the form
are Yes or No with values of 1 or 0. If ALL of the questions are answered
'No' (or 0) then the user is directed to a specific page. If 'Yes' (or 1) is
answered to any of the questions then the user needs to be directed to
another page. I am using SQL as my database. How can I do this? Thank You
in advance for your help.
 
L

Lauren

I am currently utilizing ASP - I have 9 questions with 9 [option] groups.
Under Form Properties can I designate which confirmation page needs to open
based on the users' responses? Does the programming need to be done in FP
(if so, where) or SQL for this to happen?
 
T

Thomas A. Rowe

Submit the form to a intermediate ASP/VBScript page, which would look at the total values submitted
and then redirect as needed.

Quick Example:

<%
ChkAField1 = Request.Form("CK1AField")
ChkAField2 = Request.Form("CK2AField")
ChkAField3 = Request.Form("CK3AField")
ChkAField4 = Request.Form("CK4AField")
ChkAField5 = Request.Form("CK5AField")

ChkFieldTotal = ChkAField1+ChkAField2+ChkAField3+ChkAField4+ChkAField5

If ChkAFieldTotal = 5 Then
Response.Redirect "All5AnsweredYes.asp"
Else
Response.Redirect "LessThan5AnsweredYes.asp"
End If
%>

You will then need to store all field values in sessions so that they can be used on the next page
and then written to your database, etc.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
C

clintonG

I would say no, FrontPage Form Properties would not support selecting a
target page for redirection noting I don't use push buttons so I could be
wrong but logic suggests no because the selection would have to know
something about the reason why and the program logic involved. At least
that's my reasoning. In other words, how can you tell where your going if
you do not yet know how you're going to get there and what happens if
conditions change along the way?

Secondly, I'm confused. An option group ordinarily names a group of
checkboxes or radio buttons meaning more than one checkbox or radio button
per group yet you explain you only have nine questions. If you say you have
nine option groups and nine questions that infers you have one question per
group. A group has more than one member. In your next reply write a proxy
representation of your groups and questions okay?

What your page needs to do (should do) is submit back to itself (submit the
page back to itself) and use program logic (ASP/VBS) to determine if the
form collection is empty. If the form collection is empty the page is
allowed to continue to load enabling the user to interact with the page and
fill out the form and the page is then resubitted to itself as stated. If
the form collection is not empty (a user has filled out the form)
conditional looping logic is used to loop through the entire collection of
form elements looking for yes or no answers allowing redirection to occur as
required.

That is an elegant design that does not require crude amateurish code or
extra files as Rowes pseudo-code suggests Furthermore, Rowe's pseudo-code
has no program logic or any conditional logic to determine which answers
were yes and which answers were no. This latter point is the objective is it
not?

<%= Clinton Gallagher










Lauren said:
I am currently utilizing ASP - I have 9 questions with 9 [option] groups.
Under Form Properties can I designate which confirmation page needs to
open
based on the users' responses? Does the programming need to be done in FP
(if so, where) or SQL for this to happen?

clintonG said:
This could be done on the client or on the server. I assume you are
hosted
on a Windows platform that can utilize ASP or ASP.NET? How many questions
are there in how many groups? Are you interested in hiring this out or
what?

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
 
L

Lauren

My design of questions and option groups is as follows:
Question 1: blah, blah, blah
(option group"Q1" [2 radio buttons, one for 'Yes' and one for 'No'] )
if Yes, value=1, No, value=0
Question 2: blah, blah, blah
(option group "Q2" [2 radio buttons, one for 'Yes' and one for
'No'])
if Yes, value=1, No, value=0
etc..

What is "supposed" to happen is that users will answer the 9 questions with
either a yes or no response. If they answer No to all of the questions then
they have completed the excercise and are not required to take a second test.
If they answer Yes to any of the questions, then they are considered to be
'at risk' and are required to take a second test. Depending on how they
answer the questions, One of 2 pages will appear once the 'Submit' button is
pressed directing the users on what they need to do next.
I understand what you wrote; perhaps I added more than neccesary as far as
the option groups are concerned.....

Your logic with submitting the page back to itself also makes sense,
however, with the current set-up, I will not need to determine whether the
form collection is empty because it will never be empty. There will either
be values of 1's or 0's collected. If what you are suggesting is easier than
it is no problem to re-design the questionaire.

Perhaps this will give a better understanding to what my set-up is and what
I am trying to achieve.

I am open to any sugesstions

Thanks again

clintonG said:
I would say no, FrontPage Form Properties would not support selecting a
target page for redirection noting I don't use push buttons so I could be
wrong but logic suggests no because the selection would have to know
something about the reason why and the program logic involved. At least
that's my reasoning. In other words, how can you tell where your going if
you do not yet know how you're going to get there and what happens if
conditions change along the way?

Secondly, I'm confused. An option group ordinarily names a group of
checkboxes or radio buttons meaning more than one checkbox or radio button
per group yet you explain you only have nine questions. If you say you have
nine option groups and nine questions that infers you have one question per
group. A group has more than one member. In your next reply write a proxy
representation of your groups and questions okay?

What your page needs to do (should do) is submit back to itself (submit the
page back to itself) and use program logic (ASP/VBS) to determine if the
form collection is empty. If the form collection is empty the page is
allowed to continue to load enabling the user to interact with the page and
fill out the form and the page is then resubitted to itself as stated. If
the form collection is not empty (a user has filled out the form)
conditional looping logic is used to loop through the entire collection of
form elements looking for yes or no answers allowing redirection to occur as
required.

That is an elegant design that does not require crude amateurish code or
extra files as Rowes pseudo-code suggests Furthermore, Rowe's pseudo-code
has no program logic or any conditional logic to determine which answers
were yes and which answers were no. This latter point is the objective is it
not?

<%= Clinton Gallagher










Lauren said:
I am currently utilizing ASP - I have 9 questions with 9 [option] groups.
Under Form Properties can I designate which confirmation page needs to
open
based on the users' responses? Does the programming need to be done in FP
(if so, where) or SQL for this to happen?

clintonG said:
This could be done on the client or on the server. I assume you are
hosted
on a Windows platform that can utilize ASP or ASP.NET? How many questions
are there in how many groups? Are you interested in hiring this out or
what?

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


I need some programimg assistance for the following scenario:
I have created a basic form using option groups. All questions on the
form
are Yes or No with values of 1 or 0. If ALL of the questions are
answered
'No' (or 0) then the user is directed to a specific page. If 'Yes' (or
1)
is
answered to any of the questions then the user needs to be directed to
another page. I am using SQL as my database. How can I do this?
Thank
You
in advance for your help.
 
L

Lauren

Tom,

How can I remove a thread from the forum. I posted some info. that should
not have been revealed.

Please help!

Thanks,

Lauren
 
C

clintonG

First, we can not delete anything posted to a newsgroup unless those
controlling the newsgroup software are using NNTP server software that
support deletion. This is very rarely supported as deleting messages breaks
the way news articles are stored. NNTP servers are very fragile. Some news
readers support deletion but all that happens is the news article is deleted
from the cache on the user's machine. The news article can still be seen by
others because the article can be in the cache on their machine as well as
remaining on the NNTP server.

If you are worried that you may have revealed something in this news
article -- do not worry -- what you have said here is virtually meaningless
and has no effect on filling out the form one way or another.

Secondly, I've attached TestFormIteration.zip in response to your expressed
requirements:
A.) If any answer is yes then redirect
B.) When all answers are no then redirect
C.) If the form is submitted without answering the page is reloaded with a
message

Others have gone out of their way to help me and I am doing the same for
you.
Happy Thanksgiving -- pay it forward...

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


Lauren said:
My design of questions and option groups is as follows:
Question 1: blah, blah, blah
(option group"Q1" [2 radio buttons, one for 'Yes' and one for
'No'] )
if Yes, value=1, No, value=0
Question 2: blah, blah, blah
(option group "Q2" [2 radio buttons, one for 'Yes' and one for
'No'])
if Yes, value=1, No, value=0
etc..

What is "supposed" to happen is that users will answer the 9 questions
with
either a yes or no response. If they answer No to all of the questions
then
they have completed the excercise and are not required to take a second
test.
If they answer Yes to any of the questions, then they are considered to be
'at risk' and are required to take a second test. Depending on how they
answer the questions, One of 2 pages will appear once the 'Submit' button
is
pressed directing the users on what they need to do next.
I understand what you wrote; perhaps I added more than neccesary as far as
the option groups are concerned.....

Your logic with submitting the page back to itself also makes sense,
however, with the current set-up, I will not need to determine whether the
form collection is empty because it will never be empty. There will
either
be values of 1's or 0's collected. If what you are suggesting is easier
than
it is no problem to re-design the questionaire.

Perhaps this will give a better understanding to what my set-up is and
what
I am trying to achieve.

I am open to any sugesstions

Thanks again

clintonG said:
I would say no, FrontPage Form Properties would not support selecting a
target page for redirection noting I don't use push buttons so I could be
wrong but logic suggests no because the selection would have to know
something about the reason why and the program logic involved. At least
that's my reasoning. In other words, how can you tell where your going if
you do not yet know how you're going to get there and what happens if
conditions change along the way?

Secondly, I'm confused. An option group ordinarily names a group of
checkboxes or radio buttons meaning more than one checkbox or radio
button
per group yet you explain you only have nine questions. If you say you
have
nine option groups and nine questions that infers you have one question
per
group. A group has more than one member. In your next reply write a proxy
representation of your groups and questions okay?

What your page needs to do (should do) is submit back to itself (submit
the
page back to itself) and use program logic (ASP/VBS) to determine if the
form collection is empty. If the form collection is empty the page is
allowed to continue to load enabling the user to interact with the page
and
fill out the form and the page is then resubitted to itself as stated. If
the form collection is not empty (a user has filled out the form)
conditional looping logic is used to loop through the entire collection
of
form elements looking for yes or no answers allowing redirection to occur
as
required.

That is an elegant design that does not require crude amateurish code or
extra files as Rowes pseudo-code suggests Furthermore, Rowe's pseudo-code
has no program logic or any conditional logic to determine which answers
were yes and which answers were no. This latter point is the objective is
it
not?

<%= Clinton Gallagher










Lauren said:
I am currently utilizing ASP - I have 9 questions with 9 [option]
groups.
Under Form Properties can I designate which confirmation page needs to
open
based on the users' responses? Does the programming need to be done in
FP
(if so, where) or SQL for this to happen?

:

This could be done on the client or on the server. I assume you are
hosted
on a Windows platform that can utilize ASP or ASP.NET? How many
questions
are there in how many groups? Are you interested in hiring this out or
what?

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


I need some programimg assistance for the following scenario:
I have created a basic form using option groups. All questions on
the
form
are Yes or No with values of 1 or 0. If ALL of the questions are
answered
'No' (or 0) then the user is directed to a specific page. If 'Yes'
(or
1)
is
answered to any of the questions then the user needs to be directed
to
another page. I am using SQL as my database. How can I do this?
Thank
You
in advance for your help.
 
L

LaurenMM

* * Please note the change in my display name. (I did not post that last
thread regarding posting sensitive info to a newsgroup)* * *

Thank you for your continued help - where can I find your attached .zip?

I hope you had a nice Thanksgiving.
Lauren


clintonG said:
First, we can not delete anything posted to a newsgroup unless those
controlling the newsgroup software are using NNTP server software that
support deletion. This is very rarely supported as deleting messages breaks
the way news articles are stored. NNTP servers are very fragile. Some news
readers support deletion but all that happens is the news article is deleted
from the cache on the user's machine. The news article can still be seen by
others because the article can be in the cache on their machine as well as
remaining on the NNTP server.

If you are worried that you may have revealed something in this news
article -- do not worry -- what you have said here is virtually meaningless
and has no effect on filling out the form one way or another.

Secondly, I've attached TestFormIteration.zip in response to your expressed
requirements:
A.) If any answer is yes then redirect
B.) When all answers are no then redirect
C.) If the form is submitted without answering the page is reloaded with a
message

Others have gone out of their way to help me and I am doing the same for
you.
Happy Thanksgiving -- pay it forward...

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


Lauren said:
My design of questions and option groups is as follows:
Question 1: blah, blah, blah
(option group"Q1" [2 radio buttons, one for 'Yes' and one for
'No'] )
if Yes, value=1, No, value=0
Question 2: blah, blah, blah
(option group "Q2" [2 radio buttons, one for 'Yes' and one for
'No'])
if Yes, value=1, No, value=0
etc..

What is "supposed" to happen is that users will answer the 9 questions
with
either a yes or no response. If they answer No to all of the questions
then
they have completed the excercise and are not required to take a second
test.
If they answer Yes to any of the questions, then they are considered to be
'at risk' and are required to take a second test. Depending on how they
answer the questions, One of 2 pages will appear once the 'Submit' button
is
pressed directing the users on what they need to do next.
I understand what you wrote; perhaps I added more than neccesary as far as
the option groups are concerned.....

Your logic with submitting the page back to itself also makes sense,
however, with the current set-up, I will not need to determine whether the
form collection is empty because it will never be empty. There will
either
be values of 1's or 0's collected. If what you are suggesting is easier
than
it is no problem to re-design the questionaire.

Perhaps this will give a better understanding to what my set-up is and
what
I am trying to achieve.

I am open to any sugesstions

Thanks again

clintonG said:
I would say no, FrontPage Form Properties would not support selecting a
target page for redirection noting I don't use push buttons so I could be
wrong but logic suggests no because the selection would have to know
something about the reason why and the program logic involved. At least
that's my reasoning. In other words, how can you tell where your going if
you do not yet know how you're going to get there and what happens if
conditions change along the way?

Secondly, I'm confused. An option group ordinarily names a group of
checkboxes or radio buttons meaning more than one checkbox or radio
button
per group yet you explain you only have nine questions. If you say you
have
nine option groups and nine questions that infers you have one question
per
group. A group has more than one member. In your next reply write a proxy
representation of your groups and questions okay?

What your page needs to do (should do) is submit back to itself (submit
the
page back to itself) and use program logic (ASP/VBS) to determine if the
form collection is empty. If the form collection is empty the page is
allowed to continue to load enabling the user to interact with the page
and
fill out the form and the page is then resubitted to itself as stated. If
the form collection is not empty (a user has filled out the form)
conditional looping logic is used to loop through the entire collection
of
form elements looking for yes or no answers allowing redirection to occur
as
required.

That is an elegant design that does not require crude amateurish code or
extra files as Rowes pseudo-code suggests Furthermore, Rowe's pseudo-code
has no program logic or any conditional logic to determine which answers
were yes and which answers were no. This latter point is the objective is
it
not?

<%= Clinton Gallagher










I am currently utilizing ASP - I have 9 questions with 9 [option]
groups.
Under Form Properties can I designate which confirmation page needs to
open
based on the users' responses? Does the programming need to be done in
FP
(if so, where) or SQL for this to happen?

:

This could be done on the client or on the server. I assume you are
hosted
on a Windows platform that can utilize ASP or ASP.NET? How many
questions
are there in how many groups? Are you interested in hiring this out or
what?

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


I need some programimg assistance for the following scenario:
I have created a basic form using option groups. All questions on
the
form
are Yes or No with values of 1 or 0. If ALL of the questions are
answered
'No' (or 0) then the user is directed to a specific page. If 'Yes'
(or
1)
is
answered to any of the questions then the user needs to be directed
to
another page. I am using SQL as my database. How can I do this?
Thank
You
in advance for your help.
 
C

clintonG

I thought you got into trouble with some goofy boss and could not return to
retrieve the attachment. You should be able to at least see there is an
attachment. Do you see the paper clip when reading through the threads for
this news article? If you see the paper clip you should be able to see and
download the attachment.

I can e-mail that attachment to you if needed. Scroll down and re-assemble
my e-mail addres. Send me mail using the subject of this news article --
without -- the Re: in the subject.

<%= Clinton Gallagher


LaurenMM said:
* * Please note the change in my display name. (I did not post that last
thread regarding posting sensitive info to a newsgroup)* * *

Thank you for your continued help - where can I find your attached .zip?

I hope you had a nice Thanksgiving.
Lauren


clintonG said:
First, we can not delete anything posted to a newsgroup unless those
controlling the newsgroup software are using NNTP server software that
support deletion. This is very rarely supported as deleting messages
breaks
the way news articles are stored. NNTP servers are very fragile. Some
news
readers support deletion but all that happens is the news article is
deleted
from the cache on the user's machine. The news article can still be seen
by
others because the article can be in the cache on their machine as well
as
remaining on the NNTP server.

If you are worried that you may have revealed something in this news
article -- do not worry -- what you have said here is virtually
meaningless
and has no effect on filling out the form one way or another.

Secondly, I've attached TestFormIteration.zip in response to your
expressed
requirements:
A.) If any answer is yes then redirect
B.) When all answers are no then redirect
C.) If the form is submitted without answering the page is reloaded with
a
message

Others have gone out of their way to help me and I am doing the same for
you.
Happy Thanksgiving -- pay it forward...

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


Lauren said:
My design of questions and option groups is as follows:
Question 1: blah, blah, blah
(option group"Q1" [2 radio buttons, one for 'Yes' and one for
'No'] )
if Yes, value=1, No, value=0
Question 2: blah, blah, blah
(option group "Q2" [2 radio buttons, one for 'Yes' and one for
'No'])
if Yes, value=1, No, value=0
etc..

What is "supposed" to happen is that users will answer the 9 questions
with
either a yes or no response. If they answer No to all of the questions
then
they have completed the excercise and are not required to take a second
test.
If they answer Yes to any of the questions, then they are considered to
be
'at risk' and are required to take a second test. Depending on how
they
answer the questions, One of 2 pages will appear once the 'Submit'
button
is
pressed directing the users on what they need to do next.
I understand what you wrote; perhaps I added more than neccesary as far
as
the option groups are concerned.....

Your logic with submitting the page back to itself also makes sense,
however, with the current set-up, I will not need to determine whether
the
form collection is empty because it will never be empty. There will
either
be values of 1's or 0's collected. If what you are suggesting is
easier
than
it is no problem to re-design the questionaire.

Perhaps this will give a better understanding to what my set-up is and
what
I am trying to achieve.

I am open to any sugesstions

Thanks again

:

I would say no, FrontPage Form Properties would not support selecting
a
target page for redirection noting I don't use push buttons so I could
be
wrong but logic suggests no because the selection would have to know
something about the reason why and the program logic involved. At
least
that's my reasoning. In other words, how can you tell where your going
if
you do not yet know how you're going to get there and what happens if
conditions change along the way?

Secondly, I'm confused. An option group ordinarily names a group of
checkboxes or radio buttons meaning more than one checkbox or radio
button
per group yet you explain you only have nine questions. If you say you
have
nine option groups and nine questions that infers you have one
question
per
group. A group has more than one member. In your next reply write a
proxy
representation of your groups and questions okay?

What your page needs to do (should do) is submit back to itself
(submit
the
page back to itself) and use program logic (ASP/VBS) to determine if
the
form collection is empty. If the form collection is empty the page is
allowed to continue to load enabling the user to interact with the
page
and
fill out the form and the page is then resubitted to itself as stated.
If
the form collection is not empty (a user has filled out the form)
conditional looping logic is used to loop through the entire
collection
of
form elements looking for yes or no answers allowing redirection to
occur
as
required.

That is an elegant design that does not require crude amateurish code
or
extra files as Rowes pseudo-code suggests Furthermore, Rowe's
pseudo-code
has no program logic or any conditional logic to determine which
answers
were yes and which answers were no. This latter point is the objective
is
it
not?

<%= Clinton Gallagher










I am currently utilizing ASP - I have 9 questions with 9 [option]
groups.
Under Form Properties can I designate which confirmation page needs
to
open
based on the users' responses? Does the programming need to be done
in
FP
(if so, where) or SQL for this to happen?

:

This could be done on the client or on the server. I assume you are
hosted
on a Windows platform that can utilize ASP or ASP.NET? How many
questions
are there in how many groups? Are you interested in hiring this out
or
what?

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


I need some programimg assistance for the following scenario:
I have created a basic form using option groups. All questions
on
the
form
are Yes or No with values of 1 or 0. If ALL of the questions are
answered
'No' (or 0) then the user is directed to a specific page. If
'Yes'
(or
1)
is
answered to any of the questions then the user needs to be
directed
to
another page. I am using SQL as my database. How can I do this?
Thank
You
in advance for your help.
 
L

LaurenMM

Ha Ha! No, I didn't get in trouble with my boss... I do not see any paper
clips anywhere. I work for the government so I'm sure the attachment is
trying to go through several firewalls.. I sent you an email as you
requested. Thanks

clintonG said:
I thought you got into trouble with some goofy boss and could not return to
retrieve the attachment. You should be able to at least see there is an
attachment. Do you see the paper clip when reading through the threads for
this news article? If you see the paper clip you should be able to see and
download the attachment.

I can e-mail that attachment to you if needed. Scroll down and re-assemble
my e-mail addres. Send me mail using the subject of this news article --
without -- the Re: in the subject.

<%= Clinton Gallagher


LaurenMM said:
* * Please note the change in my display name. (I did not post that last
thread regarding posting sensitive info to a newsgroup)* * *

Thank you for your continued help - where can I find your attached .zip?

I hope you had a nice Thanksgiving.
Lauren


clintonG said:
First, we can not delete anything posted to a newsgroup unless those
controlling the newsgroup software are using NNTP server software that
support deletion. This is very rarely supported as deleting messages
breaks
the way news articles are stored. NNTP servers are very fragile. Some
news
readers support deletion but all that happens is the news article is
deleted
from the cache on the user's machine. The news article can still be seen
by
others because the article can be in the cache on their machine as well
as
remaining on the NNTP server.

If you are worried that you may have revealed something in this news
article -- do not worry -- what you have said here is virtually
meaningless
and has no effect on filling out the form one way or another.

Secondly, I've attached TestFormIteration.zip in response to your
expressed
requirements:
A.) If any answer is yes then redirect
B.) When all answers are no then redirect
C.) If the form is submitted without answering the page is reloaded with
a
message

Others have gone out of their way to help me and I am doing the same for
you.
Happy Thanksgiving -- pay it forward...

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


My design of questions and option groups is as follows:
Question 1: blah, blah, blah
(option group"Q1" [2 radio buttons, one for 'Yes' and one for
'No'] )
if Yes, value=1, No, value=0
Question 2: blah, blah, blah
(option group "Q2" [2 radio buttons, one for 'Yes' and one for
'No'])
if Yes, value=1, No, value=0
etc..

What is "supposed" to happen is that users will answer the 9 questions
with
either a yes or no response. If they answer No to all of the questions
then
they have completed the excercise and are not required to take a second
test.
If they answer Yes to any of the questions, then they are considered to
be
'at risk' and are required to take a second test. Depending on how
they
answer the questions, One of 2 pages will appear once the 'Submit'
button
is
pressed directing the users on what they need to do next.
I understand what you wrote; perhaps I added more than neccesary as far
as
the option groups are concerned.....

Your logic with submitting the page back to itself also makes sense,
however, with the current set-up, I will not need to determine whether
the
form collection is empty because it will never be empty. There will
either
be values of 1's or 0's collected. If what you are suggesting is
easier
than
it is no problem to re-design the questionaire.

Perhaps this will give a better understanding to what my set-up is and
what
I am trying to achieve.

I am open to any sugesstions

Thanks again

:

I would say no, FrontPage Form Properties would not support selecting
a
target page for redirection noting I don't use push buttons so I could
be
wrong but logic suggests no because the selection would have to know
something about the reason why and the program logic involved. At
least
that's my reasoning. In other words, how can you tell where your going
if
you do not yet know how you're going to get there and what happens if
conditions change along the way?

Secondly, I'm confused. An option group ordinarily names a group of
checkboxes or radio buttons meaning more than one checkbox or radio
button
per group yet you explain you only have nine questions. If you say you
have
nine option groups and nine questions that infers you have one
question
per
group. A group has more than one member. In your next reply write a
proxy
representation of your groups and questions okay?

What your page needs to do (should do) is submit back to itself
(submit
the
page back to itself) and use program logic (ASP/VBS) to determine if
the
form collection is empty. If the form collection is empty the page is
allowed to continue to load enabling the user to interact with the
page
and
fill out the form and the page is then resubitted to itself as stated.
If
the form collection is not empty (a user has filled out the form)
conditional looping logic is used to loop through the entire
collection
of
form elements looking for yes or no answers allowing redirection to
occur
as
required.

That is an elegant design that does not require crude amateurish code
or
extra files as Rowes pseudo-code suggests Furthermore, Rowe's
pseudo-code
has no program logic or any conditional logic to determine which
answers
were yes and which answers were no. This latter point is the objective
is
it
not?

<%= Clinton Gallagher










I am currently utilizing ASP - I have 9 questions with 9 [option]
groups.
Under Form Properties can I designate which confirmation page needs
to
open
based on the users' responses? Does the programming need to be done
in
FP
(if so, where) or SQL for this to happen?

:

This could be done on the client or on the server. I assume you are
hosted
on a Windows platform that can utilize ASP or ASP.NET? How many
questions
are there in how many groups? Are you interested in hiring this out
or
what?

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


I need some programimg assistance for the following scenario:
I have created a basic form using option groups. All questions
on
the
form
are Yes or No with values of 1 or 0. If ALL of the questions are
answered
'No' (or 0) then the user is directed to a specific page. If
'Yes'
(or
1)
is
answered to any of the questions then the user needs to be
directed
to
another page. I am using SQL as my database. How can I do this?
Thank
You
in advance for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top