Forum Discussion

JakobHofsttter's avatar
JakobHofsttter
Community Member
3 years ago

Assignment of elapsedTime variable

Hello all,

I have the problem that I cannot assign the variable Slide.elapsedtime to a short-answer question because the data types are different. In Storyline you can't assign elapsedTime to a text variable and vice versa I can't assign a number variable to the textentry variable.

Slide.elapsedtime -> type number
Textentry -> Text

Glad to get some hints how I can solve the problem.
  • use javascript to convert to a string, or use a number question instead
  • Perfect thank you for the quick help. I have probably thought too complicated.