SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard wonshikee's Avatar
    Join Date
    Jan 2007
    Posts
    1,223
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    How would you handle this?

    A user is going to insert an item.

    There are 2 levels of categories.

    How would you deal with displaying only the subcategory linked to the main category they choose from a drop down?

    I am looking for a solution that doesn't require javascript.

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by wonshikee View Post
    I am looking for a solution that doesn't require javascript.
    Without JavaScript, your only option is to have the user submit the form after selecting the first category. Then you can display the subcategories for the chosen category.

  3. #3
    SitePoint Wizard wonshikee's Avatar
    Join Date
    Jan 2007
    Posts
    1,223
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dan Grossman View Post
    Without JavaScript, your only option is to have the user submit the form after selecting the first category. Then you can display the subcategories for the chosen category.
    Mmm didn't think about that one - that's a pretty good solution. Thank you.


Bookmarks

Posting Permissions

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