Solved

Dropdown List for Webpage on my Joomla Website

Posted on 2016-08-02
4
122 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 110

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 110

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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying 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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

739 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