Web Object issue
Feb 18, 2015
Hi: I want to insert a web object that collects data from the learner before allowing the learner to move forward. Once inserted, he or she needs to click an "update" button in order to submit. Does anyone know how to force the user to click "update" before moving forward to the next slide? I can't just add a trigger because I can't select the "update" button.
Hope this is clear. Anyone have any ideas? Thanks. d
4 Replies
Hi Dierdre -
Where does the Web Object reside? How you deal with this will differ based on whether it's an internally included web object or something that exists on another domain. If it's internal, you can use a variable in the parent of the web object frame and change that variable to trigger a listener (a trigger with a When Variable Changes event) to do something like activate the next button. If it's internal, let me know and I'll post something that should get the job done for you.
If the Web Object resides at another domain, you'll want to use Sergey's approach (using PostMessage()) here:
https://community.articulate.com/discussions/building-better-courses/communication-between-storyline-and-3rd-party-content
Thanks, Steve. The link is to the learner's profile in the LMS so I think
that is 3rd party, correct? I will try Sergey's approach unless you
indicate my assumption is incorrect. Thanks for getting back to quickly. I
am on a timeline. d
Safest way is using PostMessage. However you could try using a simpler setup:
Your SL file will detect the change in the variable and execute the trigger.
ok. I will let you know what happens. Thanks. d
This discussion is closed. You can start a new discussion or contact Articulate Support.