dependable drop down boxes
6 posts by 4 authors in: Forums > CMS Builder
Last Post: March 29, 2008 (RSS)
By mawebplus - March 15, 2008
any helpwould be nice on how to accomplish this
Re: [mawebplus] dependable drop down boxes
By Codee - March 15, 2008
Thanks,
Terry
Re: [mawebplus] dependable drop down boxes
By Dave - March 15, 2008
There's a few ways to do this and even some javascript/dhtml widgets you can find that update the secondary pulldowns without reloading the page.
A few questions first:
- Will these values be hardcoded or will the user need to change them?
- How many possible combinations will there be approx?
- Is there for the front end (eg: a website search engine) or for the backend as well? Could you just have a pulldown with all possible options for field 1, 2 and 3 on the backend editor?
One (simple) way to do it would be just have a section called "make_model_version" and add them all as breadcrumbs like this:
"Fruits > Banana > Hot"
Then on the backend users would scroll through a long pulldown to find the exact match for their listing. On the frontend you could have some PHP to turn those entries into javascript.
I'm not sure how easy it is to implement but here's a javascript one:
http://www.dynamicdrive.com/dynamicindex16/chainedselects/index.htm
Let me know some more details and we'll see what we can do.
interactivetools.com
Re: [Dave] dependable drop down boxes
By mawebplus - March 28, 2008
Re: [mawebplus] dependable drop down boxes
By Dave - March 29, 2008
There's no easy way to add the multiple drop down boxes on the administrator part. I was thinking you could have a big list of the breadcrumbs on the backend and then the multiple dropdowns for the web visitors on the front end.
Would that work... or no?
interactivetools.com
Re: [mawebplus] dependable drop down boxes
By Djulia - March 29, 2008
I think that this link can help you :
http://www.mattkruse.com/javascript/dynamicoptionlist/
Djulia