Forum Discussion
Designing a "Pick Many" to Identify Countries in a Map
Hi Debra, I would say this is possible, but is not something that Storyline provides. You would need to add some custom triggers and user interface to allow users to enter the country name. For example, they may select the country, which then shows an input box that is in a new layer. After the user has input text into the input box, a Submit button could then enable. On selecting Submit, you would then need a custom trigger to check the users input against the country name (based on the hotspot the user has selected.)
You will end up with quite a lot of triggers, but that shouldn't put you off, as you can just copy and paste the triggers and adjust the values as needed.
For example, in a new layer that contains an input box for the user to enter the country name (assuming the variable associated with the input box is called "userCountryInput" and "userfeedback" is a variable to change feedback) you could do something like this on the Submit button:
on click "Submit"
Set userfeedback to value "Well done"
If "HS Ireland" = Selected
and userCountryInput = value "ireland" (ignore case)
Set userfeedback to value "Try again"
If "HS Ireland" = Selected
and userCountryInput not equal value "ireland" (ignore case)
I would not use the hotspot interaction for this, as I think that interaction want you to select "correct" hotspots, rather than any and so you will be fighting against it to try and configure how you would like it.
Just use a standard slide, add your image and create your own hotspots. I've attached an example that includes Belgium and Ireland so you can understand how this could work.
One of the key things you need to do, is ensure all of your hotspot buttons on the map are part of a "button set" so that only one button can ever be in a "selected" state.
I've attached an example.
Cheers,
Sam