Forum Discussion
Exporting Text Entries to a Word document
Hi folks.
I want to create an interaction where the learner can type their answer into a Text Entry field, and then be able to click a button at the bottom of the screen that will export their answer to a Word document (rtf, text or pdf would also work, though client would prefer a doc file).
I've had a read through the Storyline tutorials and looked for the solution on the discussion boards. I assume it will be related to the use of Variables and possibly some JavaScript. Could anyone give me some guidance on how to do this please?
Thanks,
Gemz
P.S. I'm using Articulate Storyline 1.
10 Replies
Hi Gemz! Check out this thread :)
- GemzNunnCommunity Member
Hi Leslie,
That's great! Thank you very much. :)
- GemzNunnCommunity Member
I'm still trying to figure out how to create a JavaScript that will allow users to download their notes to an editable Word document.
I've figured out how to export to PDF, thanks to the awesome tutorial by Josh Stoner. I've also tried the excellent print and email solutions offered by Stephanie Harnett. Alas, the client wants text entered into the eLearning module to download to Word.
I have some ideas, and have been playing around with this script without success. (I haven't used JavaScript in a long time and it's taking me a while to get to grips with it.)
Has anyone accomplished this, or have any suggestions on what I could try next?
- Jeff-Lytle1Community Member
Any luck in finding how to output the notes to a Word Document? I am looking to do the same.
- MattSchneider1Community Member
Has there been any updates on how to create a JavaScript that will allow users to download their answers to a quiz/form to an editable Word document?
- PhilMayorSuper Hero
For word it will require a little extra work, you will have to first build the page as a HTML page and then export to Word.
This should help https://phppot.com/javascript/how-to-export-html-to-word-document-with-javascript/- MuhammodAlaaCommunity Member
Thanks Phil for sharing such a brilliant solution! but how it should be embedded in the storyline? "by iframe?"
- PhilMayorSuper Hero
I would create JavaScript to open the html page in a new window and then use embed this code in the page this code to generate the word download.
Sent from my iPhone
- CraigAgnew-6cdeCommunity Member
In case anyone stumbles across this thread - I've just written a post that might help: How to export text entries to a Word document - Articulate Storyline Discussions - E-Learning Heroes
- PhilMayorSuper Hero
Great work Craig