dynamic list box help

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default dynamic list box help

    Hi

    I have created a dynamic list box which has 5 items in there.
    when i click on an item on the list i want it to go to another page where it
    shows more information about that item.

    at the moment when i click on an any item from the list , the same information
    is being displayed for every item. i know the page where the information is
    created is correct. the problem is that it doesnt select the actual item i want
    from the list.

    all the items are linked to one page which will show different items when the
    appropriate item is selected, but how do i make each item hyperlink to that page

    how can make it so when i click on an item it goes to the that related page
    rather than the same one all the time.

    Thanks in advance
    if you dont understand the question i will try adn explain it better.

    dosima Guest

  2. Similar Questions and Discussions

    1. Dynamic List Error
      Hi , I have a page set up to allow changes to be made to a product. Alot of the options for changing products have only a few possible choices of...
    2. Dynamic List Problem
      Hi all, could someone please help me with a problem I've been trying to resolve for the last 4 hours? Basically, I have an ASP page, which...
    3. Dynamic list box
      I have a form which collects a users contact details and adds them to a database (Access) table called 'Users' using ASP, on that form there is a...
    4. PHP : Dynamic List & Filter?
      Hi - I'm working with: DWMX / PHP / MYSQL 1. I'd like to create 3 drop-down lists which are dynamically populated with entries from my DB. Is...
    5. Dynamic List Question
      I have a dynamic list that users can select multiple choices and I want on the edit page to have all those choices pre-selected. The values are...
  3. #2

    Default Re: dynamic list box help

    Hi dosima,

    I think I understand what you're asking, so I'll take a stab at it:

    You have 5 items that are displayed in your selection list. When a user
    selects a particular item you want to display additional information about the
    selected item on another page. Is that correct?

    If so, when a user submits the form to the new page, use the request.form
    collection in a case statement and display the appropriate information.

    Something like this:

    <%
    Select Case Request.Form("name_of_the_form_selection_list")
    Case "ITEM1"
    Response.Write("Item #1 information")
    Case "ITEM2"
    Response.Write("Item #2 information")
    Case "ITEM3"
    Response.Write("Item #2 information")
    Case "ITEM4"
    Response.Write("Item #4 information")
    Case "ITEM5"
    Response.Write("Item #5 information")
    Case Else
    Response.Write("invalid selection")
    End Select
    %>

    This is just a broad example of one option to try. I hope this is helpful.
    -D-

    -D- Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139