Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Drop Down List

Participant ,
Sep 16, 2008 Sep 16, 2008
Hi

I have categories in my drop down list and I want to output all data in the same page that corresponds with the category when a specific category has been selected in the drop down list. Can anyone help me. Thanks!!!
TOPICS
Getting started
446
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 16, 2008 Sep 16, 2008
When and where do you want to output the data?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 16, 2008 Sep 16, 2008
quote:

Originally posted by: Dan Bracuk
When and where do you want to output the data?


I have a table below the drop down list that I want to output all the data that corresponds in the category when the category has been selected

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 16, 2008 Sep 16, 2008
LATEST
The simplest way to do it is to also have a submit button. Then have the form submit to the page it's on.

In your source code for that page, after the code for the form, use isDefined on the form field that has the drop down. If that returns true, get the data you need and output it.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources