Setting default options for Multiselect Listbox on iPaaS form

I have a form that has a multiselect Listbox. I want the form to be able default to different combinations of options based on different fields on the form. How do I get it to do that?  To make it simple I've got example choices for a,b,c, and d (see "Example Choices" screenshot). So far I've discovered that if setting the value of the listbox to a||1 via some trigger like a button it will select that option. I can't seem to figure out what would let me have it select A and D.

I've tried setting the value to these different permutations so far and no luck:

  • a||1,b||2
  • [a||1,b||2]
  • a,b||1,2
  • [a,b]||[1,2]
  • {a||1,b||2}

Any ideas?

Tags custom-form listbox
Asked by Andrew Dzierla on Tue 8/13/24 1:02 PM Last edited Tue 8/13/24 1:02 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Fri 8/16/24 9:06 AM

Hi Andrew,

The values of a multiselect listbox can be set using notation like: A||B . Note the lack of quotes and spaces before/after ||, and it can be extended indefinitely A||B||C||D.

Sincerely,
Mark Sayers
Sr Support Consultant, CS

No feedback