473,383 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

how to unenable a question based on the previous question's answer

I am creating a database with a yes or no answer for question 1.
Based on that answer, (if they answer yes) they will answer question
2, then three....However, if they answer no to question one, I want
them not to be able to answer question 2 at all.

Ideas?

Thanks so much!
Nov 12 '05 #1
2 1956
On 10 Nov 2003 16:38:18 -0800, lv********@bpacal.com (amelia170)
wrote:

I think this is a fairly complicated issue. To implement such a
questionnaire well, you would want it to be data driven. Which means
an administrator can go in and define questions, and give them various
attributes. One of the attributes may be a jump table: if answer 1 is
selected, jump to question X, if answer 2 is given, jump to question
Y, etc. Then at runtime you can inspect the answer and the jump
table, and know what question to ask next.

-Tom.

I am creating a database with a yes or no answer for question 1.
Based on that answer, (if they answer yes) they will answer question
2, then three....However, if they answer no to question one, I want
them not to be able to answer question 2 at all.

Ideas?

Thanks so much!


Nov 12 '05 #2
On 10 Nov 2003 16:38:18 -0800, lv********@bpacal.com (amelia170)
wrote:
I am creating a database with a yes or no answer for question 1.
Based on that answer, (if they answer yes) they will answer question
2, then three....However, if they answer no to question one, I want
them not to be able to answer question 2 at all.

Ideas?

Thanks so much!


Simply have events triggered after each question.

After question 1 is answered, take appropriate action based on its
value. If it's false, disable/lock/hide/gray out other questions as
the situation warrants.

Chuck
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dave Cooke | last post by:
Hi, I have developed a website that uses Sessions to manage user state. It has come to my attention that the users that will be using this site do not want to enable cookies on their machines....
33
by: Nigel Molesworth | last post by:
I've Googled, but can't find what I need, perhaps I asking the wrong question! I want a "FAQ" page on a web site, I hate those pages that scroll you to the answer so and I figured that a good...
11
by: Mark Yudkin | last post by:
The documentation is unclear (at least to me) on the permissibility of accessing DB2 (8.1.5) concurrently on and from Windows 2000 / XP / 2003, with separate transactions scope, from separate...
55
by: Steve Jorgensen | last post by:
In a recent thread, RKC (correctly, I believe), took issue with my use of multiple parameters in a Property Let procedure to pass dimensional arguments on the basis that, although it works, it's...
1
by: Alireza Kheyrollahi | last post by:
This is the third time I am posting this message. Please help if you can. ------------------------------------------- Hi all, I have got three questions. For the first two, I need just...
5
by: Wired Hosting News | last post by:
I tried to be breif and give a scenario so as not to be overlooked because it was soooo long. Let me give you real world. I am a manufacturer of goods and produce 11 items that are distributed...
22
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
1
by: pitjpz | last post by:
We have moved our Database to another server. The server it was on used SQL 4 and the new one its on now uses SQL5 the only problem we can find is that when you attempt to delete a record from...
2
by: Ken Fine | last post by:
I want to add the security question and answer security feature to the ChangePassword control. I am aware that this functionality is built into the PasswordRecovery tool. I have implemented the...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.