How do I set the default value of a Multidropdown using url parameters

Hello!
I am building a search functionality of my app where there is a homepage search that lets you select Pets from a Multiselect Dropdown (I used this plugin ) from a Homepage and Search page.

If the user selects pets from the Homepage, I want this to carry over to the Search page. I tried this by sending params to the Search page, but this only carries over 1 of the pets. Selecting more than 1 pet causes the default value to be blank.

Scenario 1: If I select only 1 pet:

This carries over the selected pet from previous page. This is correct.

Scenario 2: If I select more than 1 pet,

This doesn’t carry over the selected pets to the default value despite the url parameters having the pet-type params. The default value in debug is also empty

For additional info, here’s my setup:

In the homepage search, I added a workflow to add the pet-type key to the params to the search page. Multidropdown Select pet’s value:each item’s Display

In the search page, the default value is set to Get pet-type from page URL: converted to list.

This is the setup of the Option set Pet Type

I tried a few solutions from previous questions here in the forum and tried ChatGPT, but none worked so far. Would anyone be able to help me out please?

Thank you :slight_smile:

this will work…URL Parameters as List with Listed related Items