Custom Submit Interaction Button & Drop states
Apr 18, 2013
By
Robert Chung
Hello,
I have created a freeform slide with a drag and drop interaction. Basically, I have 3 dragable shapes and 3 drop targets (with only one item in each drop target). The 3 shapes have "drop correct' and "drop incorrect" states. I have the "Delay item drop states until interaction is submitted" enabled.
When I use the standard Submit button, the interaction behaves how I want it to. The states will not change until after the user clicks Submit.
However, when I try to use a custom button to submit the interaction (with a trigger), the item drop states do not change after clicking on the custom submit button.
Has anyone experienced this? Is there a fix/workaround or am I doing something wrong?
Many thanks,
Rob
6 Replies
Hi Robert,
Thanks for posting this. Would you mind opening up a ticket, including your .story file, so we can take a closer look at this?
Thanks!
I have exactly the same problem! Has this been resolved? Could you please share the outcome with me. Many thanks. Sorry this has been driving me mad. :-)
Hi Inka. I wasn't able to find a support case for Robert. If we can take a closer look at your setup, I think that'd be helpful. Could you attach your .story file here? Or you can use this upload link to share your file privately.
8 years later and this problem still exists within Storyline 360...
For anyone visiting this thread, here is the workaround: simply don't use Storyline's "Drop Correct/Incorrect" states. Instead, create your own RIGHT & WRONG drop states for your drag and drop objects, then use triggers to change them manually.
Here's an example workflow:
1. Create a state called "DROPPED" for each drag/drop item.
2. Create states called "RIGHT" and "WRONG" for each drop object that will serve as replacements for Storyline's default "Drop Correct/Incorrect" states. You can use the same graphics that you would use for Drop Correct/Incorrect states.
3. Create a trigger on the base layer to change the state of each drag object to "DROPPED" when the user drops the object into your drop target. You'll need to do this for each drag/drop object.
4. Create another trigger when the user clicks your custom Submit button to change the state of each drop object to either "RIGHT" or "WRONG" if the state of the object = DROPPED. You'll need to do this for each drag/drop object.
Hi Robert,
Plz check this .zip file. You want to like this.