Forum Discussion
Embed/Trigger post MS Form completion
I have exactly the same question, but when I click on the link provided by Jose, it seems the post no longer exists, or at least I can't access it?
Hey KarenCote,
Sorry to hear you're having trouble accessing the link Joe shared!
Some existing threads were not carried over when we moved this community to the new platform we are currently using. No worries! Joe was referring to a post from another community, sharing a JavaScript snippet.
I've included it here, for your reference:
"Here is the example as long as you can add code to the webobject:
https://elearnigujse.s3.amazonaws.com/gameEnded/story.html
Code (thanks to @Michael Anderson for the idea)
This function can be attached to the end event in the game.
function letKnow() {
var Player = parent.GetPlayer();
Player.SetVar("nextSlideCheck",true);
}
Then in Storyline in the same slide you just use trigger when variable change (nextSlideCheck) jump do next slide."
Please let me know if you need anything else!
- KarenCote2 months agoCommunity Member
I guess it is a different situation, because my web object is a Microsoft Form. I was hoping that when the user clicked the Submit button in the form, it would automatically then jump to the next slide in Storyline.
- StevenBenassi2 months agoStaff
Hi KarenCote!
Glad to see Enelluar has been helping you!
When you embed a Microsoft Form as a Web Object in Storyline, it gets loaded inside of an iframe. Acting as a separate browser window within the Storyline Slide itself. Storyline Triggers are used jump to other Slides, however, they cannot interact with embedded forms.
If you'd like to explore the Javascript workaround that was previously shared, we have a dedicated JavaScript group here in the community. I'm sure other code-savvy users would be happy to share their insight and expertise with you!
Related Content
- 3 months ago
- 2 years ago