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.