Solved

Dropdown List for Webpage on my Joomla Website

Posted on 2016-08-02
4
63 Views
Last Modified: 2016-08-30
HI

I would like to create a drop down list (which I have) and depending on the selection I would like certain items to appear in a second dropdown list. Finally, when the user picks the item from the second list I would like it to display a link to the file.

The list is not large, so no need for a database. I am thinking this should be done by Java script or maybe PHP since it is Joomla based website. Any ideas would be appreciated.

Regards
0
Comment
Question by:yaminz66
  • 2
4 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 41739902
What you're looking for is called a "dependent drop-down" or a "conditional fields display" and it's a common design pattern.  I looked for examples, but most of them are very old (it was a popular topic in 2010) and the Joomla examples may be out of date.  Some of the examples use MySQL which has been gone from PHP for quite a while.  TL;DR: This looked like a good place to start.
http://forum.joomla.org/viewtopic.php?t=516398
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 41776094
The author is looking for a dependent drop-down.  The author is using Joomla.  The link here is to the Joomla forums, where it teaches how to create a dependent drop-down.
https://www.experts-exchange.com/questions/28961111/Dropdown-List-for-Webpage-on-my-Joomla-Website.html#a41739902

I don't know what the process is to find enough information to confirm an answer but the answer is right there in the forum, with links to other explanations and code samples that build the design pattern, so I think the question is pretty well answered.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now