Results 1 to 2 of 2
  1. #1
    Abina's Avatar
    Abina is offline Master
    Join Date
    Dec 2009
    Location
    United States
    Posts
    1,073
    Thanks
    1
    Thanked 6 Times in 4 Posts
    Feedback Score
    0

    Default Multiselect list in coldfusion

    Question may seem very basic!

    how can we handle muti-select box while processing a form....

    i.e. for html select box we just get the value like #attributes.selectName#

    but how will we take values for multiple select List ?

  2. #2
    numberone's Avatar
    numberone is offline Senior
    Join Date
    Jan 2010
    Posts
    623
    Thanks
    0
    Thanked 1 Time in 1 Post
    Feedback Score
    0

    Default

    Just like you do a single select list: #scope.selectName#. (Though it is usually #form.selectName#)

    Multiple selections are passed as a single comma delimited list. So say you selected three items from a list, on your action page the value might be:

    #form.selectName# = "apples,pears,oranges"

Similar Threads

  1. Basic html tutorial
    By Richaexpert in forum Graphics Design & Web Design
    Replies: 26
    Last Post: 08-11-2011, 02:53 AM
  2. List Building Strategies For Increasing Your Earnings And List Size!!
    By DotComBum in forum Marketplace - Buy, Sell & Trade
    Replies: 1
    Last Post: 04-22-2010, 01:14 AM
  3. Replies: 1
    Last Post: 02-02-2010, 11:35 AM
  4. Replies: 1
    Last Post: 01-31-2010, 11:02 AM
  5. What is coldfusion?
    By wujijiangjun in forum ColdFusion
    Replies: 8
    Last Post: 01-05-2010, 09:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Partners: BOSTON WEB DEVELOPER, LLC   |   WEBCOSMO CLASSIFIEDS