Select List on a new screen?

Nazla Anwar shared this problem 1 year ago
Not a Problem

I'm trying to recreate a drop down list, but the list options have to be displayed on a separate screen (not on the same screen the way select list shows it). When I choose an option from the list, I want it to take me back to my previous screen and display which option is selected. How can I do this?

Comments (1)

photo
1

Hi Nazla,


First, create a variable. Then, on your select list/the list of the options, create an 'on click(for regular elements) or 'on change (for select list) -> set value event. Have it set the value of the variable to the name of the element you just clicked/selected. You will need to do this a few times for a regular element, only once for the select list. Then, create another event for each on click/on change event that links back to the first page.


Then, create an on page load -> select value event for the base page, with the select value being one of the values in the select list. Create this a few more times to account for all possible values in the select list. Then, create conditions for each event, the condition being When... variable = value in the select list.


I have attached a screen shot of the On page load condition/events. Let me know if you have any questions.


Best,

Danielle