Forum Discussion
Feedback Collect
- 1 day ago
Due to iframe cross-domain security (CORS), Storyline cannot detect events inside an embedded MS Form, meaning it won't know when a learner clicks "Submit." I will not provide any more details as Jonathan already provided the most accurate explanation of this issue.
To work around this, customize the Thank You message in MS Forms to display a secret completion code (e.g., 2026COMPLETE). Instruct learners to paste this code into a Text Entry field in Storyline. A trigger then validates the entry to trigger the course completion command, which signals the Rise Continue block to unlock. Needless to say, if the learner does not submit the form, they will not see the code and will be unable to continue; conversely, entering the correct code is the only way to unlock the gate. This trick ensures the learner is still physically gated until they successfully submit the form and verify the code.
This solution does not use JavaScript on either the HTML web object or the Storyline side, only a valid embedded Microsoft Forms link.
Storyline example:
What you're describing may be possible with a Code Block in Rise rather than a SL block.
I have built custom iframe using the Code Block to display a MS Form within a Rise course. I have also had some success passing data in, out of, and between sections of Rise using postMessage in localStorage.
It occurs to me that it might be possible for the Code Block that displays your MS Form to also 'listen' for a successful submission, and then 'complete'.
But I've only done this with Google Forms, which has a far more open infrastructure than MS Forms. Honestly, the blocker here may be MS Forms, which is tougher to integrate, and iframes also add another layer of complexity.
I'd recommend asking Claude Code or similar to build a simple iframe, then experiment with what (if any) data can be seen passing to the MS Form to trigger completion.
Related Content
- 2 years ago
- 7 months ago
- 9 months ago