Forum Discussion
JamesGregg
22 days agoCommunity Member
JS output to MS Word is rearranging the variables and I can't figure out why
In the JS below (which is under a button on the final slide of my STORY, designed to generate a MS Word doc of the data the user has entered in multiple fields), I'm getting the final product just fi...
Nedim
21 days agoCommunity Member
Nothing in the JavaScript you've posted would cause retail2 and retail3 to swap. The HTML is generated in the same order that the variables are assigned, so the JavaScript itself doesn't appear to be reversing them.
Is it possible that the variables are reversed in Storyline (for example, the text entry fields are mapped to different variables than expected)?
If you don't mind sharing it, feel free to upload your .story project. I'd be happy to take a closer look and see if I can spot what's causing the swap.
Related Content
- 1 year ago