Forum Discussion
sofiaabdelkafi
2 years agoCommunity Member
Javascript maths
Hello there,
I have a .story file that has a few slides that include maths. User has to enter data and a formula calculates a result with javascript.
This file works well when uploaded to an ...
sofiaabdelkafi
Community Member
So the same story has now been uploaded to storyline within an existing project as a scene and then published. The calculation doesnt work.
So basically the calculation only works when i upload to storyline as a new project not within an existing scene or even project.
Jürgen_Schoene_
2 years agoCommunity Member
if you copy a slide with input text from one course to another, the variable names can change (if there is a conflict)
this seems to be happend with
- TextEntry1
- TextEntry2
- TextEntry3
- TextEntry4
now the result of the Javascript is not written into the correct variable (of the text entry field)
check for all 4 slides
that the variable in Javascript matches to the vaiable in the text entry field