[CLOSED] [1.0] MultiSelect .getValues

  1. #1

    [CLOSED] [1.0] MultiSelect .getValues

    Seems like the .getValues() function of the MulitSelect control is returning all items in the control.

    Is there a command to just return the ones that are selected?
  2. #2

    RE: [CLOSED] [1.0] MultiSelect .getValues

    Hi,

    MultiSelect is Field therefore you need to use 'getValue' to get selected values


    getValue - string with selected values which separated by delimiter (by default, comma)
    getIndexes - string with selected indexes which separated by delimiter (by default, comma)
    getRawValue - array of the selected values


    MultiSelect1.view.getSelectedIndexes()

    Return array of selected indexes




Similar Threads

  1. Replies: 4
    Last Post: May 09, 2012, 9:24 PM
  2. Replies: 4
    Last Post: Feb 20, 2012, 11:14 AM
  3. Replies: 2
    Last Post: Aug 29, 2011, 3:53 PM
  4. Replies: 2
    Last Post: Aug 09, 2011, 10:49 PM
  5. [CLOSED] FormPanel and getValues does not return all form fields
    By HOWARDJ in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 07, 2009, 6:21 PM

Posting Permissions