Gossamer Forum
Home : Products : DBMan : Customization :

Related Select Boxes

Quote Reply
Related Select Boxes
Smile I'm back working on DBMan after several months away from this project.... I have been searching and reading about select boxes --- specifically, related select boxes -- where the list of items in the second is dependent on the selection in the first box.

Is javascript still the best way to handle this? If so, how do I build the java_script into my html.pl? just at the beginning of the sub_routine?

also, I understand alternatively to java I could use multiple html pages where a submit is pressed after making the first selection and basing the second page on what was selected on the first. I'm not sure how to code this.

The information about doing this is pretty confusing -- mostly because it is a complicated topic I'm sure! Does anyone know of a sample or source that in anyway can simplify this for a low-brain cell humanoid such as myself?????

I'd appreciate any tips, I don't want to end up spending a month or two on this and come up empty handed. In fact I need to find a way to handle this and implement it in the next 2 weeks. So tips for work arounds would be greatly appreciated!

Thanks,

Lynette
Lynette
Hollister, Ca
Quote Reply
Re: [ltillner] Related Select Boxes In reply to
If you want to use javascript in the way that you described, you'll have to do it dynamically which means you'd be limiting yourself to Internet Explorer 6 and higher.. See this web site for more details, options: http://javascript.internet.com/forms/

Otherwise you'd have to go with a second option of having multiple pages (not an easy task).
Quote Reply
Re: [Watts] Related Select Boxes In reply to
I did find a previous post along similar lines, I think. It was:

http://gossamer-threads.com/...orum.cgi?post=171513

where you posted a sample and also a bunch of other threads about related selects, but it is all very confusing to me right now. Will that sample help me at all??? I have my homework cut out for me tonight.

Is there a multi-page mod?

Thanks, I keep trudging through this!
Lynette
Hollister, Ca
Quote Reply
Re: [ltillner] Related Select Boxes In reply to
There is a muli-page mod I believe in the resource center.

Subject: New Mod EMultipage
jai 12-Jul-2000

Watts also made some changes for another version called "MultiPage MOD"

Multipage Mod
jigme 21-Aug 21-2002

I'm not sure if this version is listed in the resource center.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Related Select Boxes In reply to
Thanks Lois,

Watt's recent MOD is the only one still available. After reading the thread I'm not sure it will do what I need in my extensively modified application but I will work on it!

I always appreciate your great depth of knowledge!

Lynette
Lynette
Hollister, Ca
Quote Reply
Re: [ltillner] Related Select Boxes In reply to
Sorry, the sample I was refering to in that link was for another purpose.
Quote Reply
Re: [Watts] Related Select Boxes In reply to
Lynette,

I used to use this script with my html.pl file, and it worked just fine. I used it about three years and never had any complaints about cross browser compatibility. It is pretty easy to set up

http://www.webreference.com/dev/menus/intro2.html

Sigrid
Quote Reply
Re: [sigrid] Related Select Boxes In reply to
Cool Thanks so much, this is very close to what I need, much better than the script I was planning to use! The 3 related select boxes will be nearly perfect!

Now, can anyone tell me how to remove the jumps (because this is a menu and takes you to various pages)

and just have the selected item store in the record when the form is submitted?
Lynette
Hollister, Ca