Forum Discussion
SimonPetersen
3 years agoCommunity Member
Issues using JavaScript to send Quiz Results to PHP script
Hi all,
So I'm at a point, where I really cannot find the solution.
I have a JavaScript trigger, which should send the scorepoints to my MySQL database:
The PHP script send.php is captu...
SteveGannon
3 years agoCommunity Member
You won't be able to pull an internal Storyline variable into JavaScript. Instead, create a custom variable and assign it the value of Quiz1.ScorePoints using a trigger. Then use JavaScript to get the custom variable. Should work.
- SimonPetersen3 years agoCommunity Member
Thanks Steve, that worked like a charm. Thank you so much.
For reference:
Related Content
- 11 months ago