Forum Discussion
Adding a text box for user input in Rise360
Hi Saikat
I can't help with the first part of your question - i.e. the quiz - But we have been working on collecting data using a Storyline block in Rise and then outputting the data to a downloadable pdf.
This demo I posted a couple of weeks ago demonstrates where we have got to:
https://rise.articulate.com/share/CxNcomo7LqqWkBOahhImYPgO8E7PEeYG
Inside the Storyline we use text input boxes to collect the input from the learner. We then use a JavaScript library 'pdf-lib' in our JavaScript code to take this input and fill out a pdf 'form'. In the demo the pdf 'form' template is included inside an attachment block.
Using this technique, you could create the form to include part of the course itself with form fields where you want the learner input to appear.
This works fine BUT... and it's a big BUT... we cannot carry variables over from one Storyline Block to another i.e. we cannot accumulate variables and store them until the end of the course. RISE doesn't have variables. so as soon as the learner exits from the Storyline block the variables are lost.
You would have to store the data somewhere to get what I suspect you are trying to achieve. We have a client who has requested we work on this - we are going to try using local storage in the browser (not ideal - but viable). If we have success I will update this post.
John Cooper
Hi Saikat
I can't help with the first part of your question - i.e. the quiz - But we have been working on collecting data using a Storyline block in Rise and then outputting the data to a downloadable pdf.
This demo I posted a couple of weeks ago demonstrates where we have got to:
https://rise.articulate.com/share/CxNcomo7LqqWkBOahhImYPgO8E7PEeYG
Inside the Storyline we use text input boxes to collect the input from the learner. We then use a JavaScript library 'pdf-lib' in our JavaScript code to take this input and fill out a pdf 'form'. In the demo the pdf 'form' template is included inside an attachment block.
Using this technique, you could create the form to include part of the course itself with form fields where you want the learner input to appear.
This works fine BUT... and it's a big BUT... we cannot carry variables over from one Storyline Block to another i.e. we cannot accumulate variables and store them until the end of the course. RISE doesn't have variables. so as soon as the learner exits from the Storyline block the variables are lost.
You would have to store the data somewhere to get what I suspect you are trying to achieve. We have a client who has requested we work on this - we are going to try using local storage in the browser (not ideal - but viable). If we have success I will update this post.
I said I would update this post when we had created a downloadable pdf with data collected across a RISE course from several Storyline Blocks with text entry fields using local storage in the browser (similar to Cookies).
Just to say we did this and it works fine.
- AneikaAvery-b0c9 months agoCommunity Member
This is fantastic. Just went through it and it works. I wasn't able to attend your course. Did you happen to record it?