Forum Discussion
MatthewJohns449
4 years agoCommunity Member
Combine two variables into one
I am having a problem with essay questions submitting the results into our LMS.
As a background, the course that I have created is for DSE and incorporates a series of questions that the user is t...
BobStryker
4 years agoCommunity Member
Hi Matthew,
Here is a very quickly developed story file that adds two text variables together. It uses JavaScript to join the two variable inputs (and therefore cannot be Previewed in SL but must at least be published to HTML for previewing/testing) and then outputs to a third SL variable which can be displayed and/or sent to the LMS via a submit interaction trigger.
I combine variables frequently in similar ways to send groupings of learner responses as one comma-delineated variable to the LMS rather than as individual responses. This really shrinks down the size of learning reports.
Hope this helps!
Bob
- SusanneMorris2 years agoCommunity Member
This is amazing! Thank you!
Related Content
- 12 months ago
- 4 months ago
- 12 months ago
- 12 months ago
- 12 months ago