Hi,
I did this sort of thing for a Support Knowledge base our support dept. use.
In our example you select the software version, then module, finally you
select the function that you are looking for support info on.
Each of these is blank at the begining apart from the version box,
depending on what you select you will get different modules and functions.
Checking for the existence of parameters (so working out where abouts in the
form you are) each time.
It would be as easy to not display the box at all in the same mannor. The
code was a mess when I got it and I quite blatently didnt have the time to
spend ages on it so I just added a "confirm version/module/function" button
next to each drop box. A better way to do it would be to use a bit of
javascript and the onChange property of a dropbox.
Hope this helps.
Darren Adams
Web Developer
Marketing Department
Systems Union
Office: 01252 55 6220
Mobile: 07714 817 038
Email: [EMAIL PROTECTED]
"Data + Structure = INFORMATION"
-----Original Message-----
From: Jason Lotz [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2001 19:29
To: CF-Talk
Subject: UI question
I would like some input on how people handle the following situation:
A client wants a form with a "Job Title" select box with 5 options -
Developer
Programmer
Engineer
Electrician
Other
If the user selects "Other" then they have to enter the information in a
text box. Otherwise, the selection in the Select box is sufficient.
Now, my problem isn't programming related. Rather, I am interested in a
good way to handle the user interface for this mess. For example, in VB
it's easy enough to make the text box only appear when "Other" is selected.
However, HTML is not that flexible. It just seems that there might be a
good way to handle this that I'm missing.
Jason
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists