Hi All,
i want to know , how to configure the below logic
BY default all the option should be selected. and also in dropdown i can have the option to deselect all /select all along with all the options.
Please help me how i can go about this
Discussion posts and replies are publicly visible
You can pre-populate a local variable with the the choice value array data and map this variable in value and saveinto of the dropdown. When the form loads your local will have all the dropdown values in it. And the dropdown will also show all the values pre-selected. Users can then deselct/select the values as needed.
a!localVariables( local!language: { "en_US", "es_ES", "fr_FR", "de_DE" }, a!multipleDropdownField( label: "Language", instructions: "Which language(s) are you proficient in?", choiceLabels: { "English", "Spanish", "French", "German" }, choiceValues: { "en_US", "es_ES", "fr_FR", "de_DE" }, value: local!language, saveInto: local!language, placeholder: "Select a language", searchDisplay: "ON" ) )