Forum Discussion
Making feedback mandatory
Hi Experets,
I have a requirement to add a feedback form at the end of the course. I'm using web object in storyline to embed the form. But the thing is I need to make submitting that feedback is mandatory before completing the course.
To do that, does any one know a method or workaround. Or if I use wrong method, please advise me how to do it correctly.
Regards,
Maithri.
2 Replies
- EricAllenCommunity Member
Hello Maithri, so I have a zip here with a .story file with just a web object on it, like you have, and a small html file that just has a button on it. when the button is submitted, it communicates with the .story file and sets a variable called FeedbackSubmitted to True.
The html file is only there to show how the communication works. You would keep your own form and add this one line to its submit button or thank-you page:
window.parent.postMessage("feedbackSubmitted", "*");
The slide has an Execute JavaScript trigger that listens for that message and sets the variable. From there, add a trigger: Complete course (or whatever it is that you want to do) when FeedbackSubmitted changes to True.
I hope this helps! - PhilMayorLegend
It may depend on what the form allows. Rather than embedding the form directly as the web object, you could host it inside your own wrapper page. That page could detect a successful submission and communicate the result back to Storyline, for example by updating a Storyline variable. Completion could then be conditional on that variable being set.
Related Content
- 6 months ago
- 3 years ago