Hoppa till huvudinnehållet

Tickbox to select all values in a Listbox

Kommentarer

1 kommentar

  • Permanently deleted user
    Hi Tomar, 

     

    I think the easiest way is to tell the user that if they want to select all the values in a listbox, then they should click and hold the SHIFT key + click first and last values to select all.

     

    The other option is to add 2 radio buttons that allows the user to choose whether they want to select all values or pick values from a listbox. If they select the "Pick Values" radio button, then you can set the listbox to visible Otherwise, it stays invisible. In order to use this function, the list box must be contained within a group or group box container because only these 2 features have the "Visible When" parameter in the properties.

     

    User-added image

     

    User-added image

     

    So it is hidden if you select "Select All"

     

    User-added image

     

    But the listbox will show if you select "Pick Values"

     

    User-added image

     

    The reason why I am suggesting these options instead is because you cannot have the form perform any action unless the user clicks on a button. So if you want the user to just check the tickbox and then the listbox above it highlights all its values, it is impossible to do with the display form activity. The user has to check that tickbox, hit a "submit" button, and then you can set the listbox to higlight all the values. 

     

    I hope this helps.

     

    Regards, 

     

    Carmen
    0

Du måste logga in om du vill lämna en kommentar.