Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dropdown List for Webpage on my Joomla Website

Posted on 2016-08-02
4
Medium Priority
?
155 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 111

Accepted Solution

by:
Ray Paseur earned 2000 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 111

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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

715 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