Results 1 to 4 of 4

Thread: Select list

  1. #1
    Join Date
    Nov 2012
    Location
    Northwich, Cheshire, UK
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Select list

    I have 6 lists (for example) named YesRank_Q1 / 2 / 3 / 4 / 5 / 6 with 4 options blank,1,2,3

    How can I code it so that you can only have a one 1/2/3 throughout the list.

    so if you choose 1 in YesRank_Q1 it's not available in the rest of the dropdowns.

    I have hard coded each list, but if you use javascript to populate the dropdowns, will the data be available after being posted to another page?

    Thanks

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    I'm having hard time visualising what you're trying to describe. I'd say at this stage you should looked into "chained selects" (Google will bring up lots of results and there might be something there that is exactly what you need) but for specific help, please post a link to your page to we can see what you have so far.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Jul 2008
    Posts
    128
    Thanks
    0
    Thanked 17 Times in 16 Posts

    Default

    Quote Originally Posted by darrylw99 View Post
    I have 6 lists (for example) named YesRank_Q1 / 2 / 3 / 4 / 5 / 6 with 4 options blank,1,2,3

    How can I code it so that you can only have a one 1/2/3 throughout the list.

    so if you choose 1 in YesRank_Q1 it's not available in the rest of the dropdowns.
    I'm pretty sure this is what you mean: http://scripterlative.com/files/selectunique.htm

  4. #4
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

Similar Threads

  1. Replies: 1
    Last Post: 06-29-2013, 07:10 PM
  2. Replies: 1
    Last Post: 02-27-2012, 02:50 AM
  3. transparent select list
    By gpigate in forum CSS
    Replies: 9
    Last Post: 01-09-2009, 01:46 PM
  4. asp select list
    By mini_minh in forum ASP
    Replies: 3
    Last Post: 05-20-2007, 11:40 AM
  5. Refreshing a drop-down list/select list
    By bbrant in forum JavaScript
    Replies: 1
    Last Post: 02-06-2007, 08:13 AM

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
  •