#1
  1. No Profile Picture
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Location
    Newcastle, UK
    Posts
    19
    Rep Power
    0

    ASP Form Problem


    Hi,

    Developing a site with a section for users to choose an item using 2 drop down menus, both within the SAME FORM.

    Menu 1 has a list of UK regions, when a region is selected, Menu 2 beneath is populated with a list of items from that region to choose from. Both menus are dynamic and are populated directly from a database.

    Problem = How do I get the form, when submitted, to open up a second page to display the details associated with the item ? (all items have details in the same database tables).

    Thanks
  2. #2
  3. yet another member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    262
    Rep Power
    14
    Hi!

    Once your (server sided) script recieves a value for 'region' you send the page back with a now populated list 'item', right? It's new pages every time, no javascript populating, is it? Once you recieve "item=thisandthat", too, you assume that the user has gone through both steps and is ready to be shown the details page (with further selects if necessary).
    I'd just make this a tree-step process, choosing a region followed by choosing an item followed by being shown the details.

    Regards,

    Atrus.
    Webmaster - Stefan Meier KG TABAKWAREN - Pfeifen, Premium-Zigarren, ... (_Ger)

IMN logo majestic logo threadwatch logo seochat tools logo