SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict djh's Avatar
    Join Date
    Apr 2000
    Location
    Long Beach, CA
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How can one setup a form such that a selection from one drop down menu eliminates some options (only showing a certain number, say only 3 our of 6) of another drop down menu?

    Any suggestions?

  2. #2
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's something like that found on the site below, although customization might be tough:
    http://javascript.internet.com

    Hope that helps.



    ------------------
    Chris Bowyer
    MyCoding.com: Under Construction!
    "I'm not an insomniac, I'm a web designer."

  3. #3
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How it basically works is you create an array in javascript and then basically say

    if x1 is such and such then x2 is such and such.

    Hmm I hope you understand what I'm saying. I'm sure there is more than 1 way to do it, there usually is, but that is one way.

    Chris

    ps if you like I can email to you an example of it.


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
  •