Hi All -
As the title states, I’m having difficulty populating the default value in one of my drop down elements after sending a value through as a parameter. I have screenshots below, but to provide context of what I’m looking to achieve, I have a data type called ‘Sports’ where there is a text field labeled ‘Sportname’ that lists all the available sports (i.e football, baseball, etc…).
On my index page, I have a drop down element that pulls all of the ‘Sportnames’ as available choices. When the user selects one and hits search, the workflow saves that sportname as a field under the user data type as ‘Searchsubject’, sends the parameter ‘sport’ which contains the drop-downs value, and then navigates to the Search page.
On the search page, there is another drop-down element which filters the RG. Currently, the parameter is sending correctly and is in the url, but I can not get the drop-down to default to that ‘sportname’ as all it picks up is the users ‘searchsubject’.
Ultimately what I am looking to do is when someone manually types in the url or clicks from an ad, the link can already include the ‘sport’ and the correct default option will already be selected in the drop-down on the search page. I know this is not working correctly because if I change the parameter manually and reload the page, it does not change the drop-down value.
Can someone please help here?