Forum Discussion
GemzNunn
11 years agoCommunity Member
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 ans...
PhilMayor
4 years agoSuper 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/
- MuhammodAlaa4 years agoCommunity Member
Thanks Phil for sharing such a brilliant solution! but how it should be embedded in the storyline? "by iframe?"
- PhilMayor4 years agoSuper 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