I am working on a scenario where students input text on a number of different slides and save it as they go. Im using javascript to collect the input (appending it to a new variable) for later where I am able to display their input back to them. That works fine.
What I really want though is for them to be able to edit their input before submitting it all.
On an Essay quiz slide timeline I can add javascript to call the variable into the essay text box, but it did not work.
Is it possible to pre-populate a quiz essay input box ?
Hi Bruce not sure I understand if you set the value of the text entry box to be your appended text then the user can click into the text in the data entry field and amend it.
It is highlighted initially but as long as the click into the text you can then edit it
That's right Phil. The idea of using the Essay quiz slide is so that students can reflect on what they have writrten and edit it before it is submitted.
7 Replies
instead of using javascript just use a trigger to assign the value of your appended variable, to be the value of the variable the essay box assigns to
Hello Phil,
Ive uploaded a prototype to demonstrate my problem. I ideally would drop slide 2 for slide 3, which would be editable.
I tried to assign the value as you suggest but that was output as a literal string.
I am using a trigger - timeline start slide 3.
See the attached file for reference.
Hi Bruce not sure I understand if you set the value of the text entry box to be your appended text then the user can click into the text in the data entry field and amend it.
It is highlighted initially but as long as the click into the text you can then edit it
That's right Phil. The idea of using the Essay quiz slide is so that students can reflect on what they have writrten and edit it before it is submitted.
Are you saying it did work for you on slide 3?
I edited it slightly used the trigger I suggested
Think it works as expected you just need to click in the text
(Note I added a value to the variable which is why the placeholder text is there)
Thank you so much, this opens up all kinds of opportunities.
I really didn't do anything you had done the difficult stuff
This discussion is closed. You can start a new discussion or contact Articulate Support.