Dropdown Box with Multiple Choices

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Brita
    New Member
    • Aug 2007
    • 12

    #1

    Dropdown Box with Multiple Choices

    I am sure there must be an easy answer to this, but I can't find it.

    I have to process a form where people can request information on one or more communities from a drop-down box. I bring the information into a java servelet to process. I get the data using:

    request.getPara meter("firstNam e")

    However request.getPara meter("communit yName") only brings me back the first community they select.

    How do I get the other choices?


    On a previous posting it was suggested that the developer use a list box. Unfortunately I don't design the page, I am handed a page and told to make it work. If all goes well, the designer gets the credit, if something goes wrong, I get the blame. ;-) I am sure I am not the only one in this boat.

    Thanks in advance for your help.

    Brita
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by Brita
    I am sure there must be an easy answer to this, but I can't find it.

    I have to process a form where people can request information on one or more communities from a drop-down box. I bring the information into a java servelet to process. I get the data using:

    request.getPara meter("firstNam e")

    However request.getPara meter("communit yName") only brings me back the first community they select.

    How do I get the other choices?


    On a previous posting it was suggested that the developer use a list box. Unfortunately I don't design the page, I am handed a page and told to make it work. If all goes well, the designer gets the credit, if something goes wrong, I get the blame. ;-) I am sure I am not the only one in this boat.

    Thanks in advance for your help.

    Brita
    For a multiple select, use
    [CODE=java]request.getPara meterValues("se lectName");[/CODE]

    Comment

    Working...