Solved

Dropdown List for Webpage on my Joomla Website

Posted on 2016-08-02
4
101 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 109

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 109

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

820 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