Forum Discussion
SamClark
12 years agoCommunity Member
Storyline True/False variable comparison
UPDATE:
After further testing, I found that JavaScript setting a variable to "true" in Storyline ONLY FAILS IN HTML5. All is well in the flash versions. Simply put, a Storyline variable set "tr...
MichaelAmbech
Community Member
An update to my post:
The issue is (partly) due to the fact that storyline isn't using true boolean values. True/False are presented as strings.
However changing the variable to 0/1 and adjusting the code accordingly doesn't fix the issue. Does the content part of pdfmake not support the use of if-statements?
JeffTas
4 years agoCommunity Member
Michael - did you get an answer to this ? I am doing something similar using pdfmake and only want variables to appear if their value is set to true in Storyline.