Forms : URL Query String with Multi Select Dropdown
Best Answer
-
To populate a Multi-Select dropdown list with multiple values using the query string, you'll just need to add an & and list the field again with the second value, like so:
?Multi=Apple&Multi=Orange
So if I had more than two values, I'd need to list the field each time:
?Multi=Apple&Multi=Orange&Multi=Banana.... etc
Let me know if this works for you!
Cheers,
Genevieve
Answers
-
Are you not able to do that using the "default value" portion for that field when building the form?
-
Yes, but not usefull in that case because the value will not always be the same.
-
To populate a Multi-Select dropdown list with multiple values using the query string, you'll just need to add an & and list the field again with the second value, like so:
?Multi=Apple&Multi=Orange
So if I had more than two values, I'd need to list the field each time:
?Multi=Apple&Multi=Orange&Multi=Banana.... etc
Let me know if this works for you!
Cheers,
Genevieve
-
Understood. In that case please see Genevieve's response above. You can also replace sections with cell references as needed.
="url_string?Multi=" + [First Option]@row + "&Multi=" + [Second Option]@row + "rest_of_url_string.com"