Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Text entry box content stored when user re-enters course?

New Here ,
Sep 15, 2015 Sep 15, 2015

Hi,

I'm trying to make a course where users have a few text entry boxes where they can enter some notes (there's no correct answers) and they work great to store data and if a user navigates back to the slide the data is stored.

The problem arises when a user closes a course and re-enters, the text has disappeared.

Even though the course is sending resume data and the LMS is entering the course where the user left it.

I'm assuming that the information in the Text Entry Box isn't stored on the LMS.

I even tried to get the Text Entry Box's default text to show as the variable Text_Entry_Box_1 but this didn't work either.

Has anyone got this to work or come up with a good work around which would give somewhere for a user to enter text and it to be retained when a user renters the course which will work with SWF and HTML5?

Many thanks,

Andrew

350
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 04, 2016 Feb 04, 2016

Same problem, but I can see that data is loaded and not used when I open the lesson the second time.

I used Cp8 with HTML5 output, and data stored on LMS is: "A1A$nPEQText_Entry_Box_1BATcpQuizInfoStudentIDBAVcpQuizInfoStudentNameAQuser, testKtextField1AQText in the box!"

This is the trace I get on reload:

*[11:50:50][9417295]LMSGetValue Element[cmi.suspend_data]

*[11:50:50][9417295]Result[A1A%24nPEQText_Entry_Box_1BATcpQuizInfoStudentIDBAVcpQuizInfoStudentNameAQuser%2C%20testKtextField1AQText%20in%20the%20box%21]

It's saved when I close the lesson, and loaded and saved once more when I reload the lesson.

I think I'm in the same boat with a bad LMS same issue as here: HTML5 Bookmarking Issue, but I can't pinpoint where the problem occurs. But LMS is responding to my getValue and it's the same one that was sent so I can't really blame it. I need some proof to be able to go to them and ask for a fix.


Value sent looks strange to me, it's not in any format I know, and looking trough the CPM.js I figures it's sent as what I think to be an object inside an array. So data sent is a form of serialization of this array.


And still Text Entry Box or variable is not set on return. Anything I'm missing?


Thanks,

Adrian.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 04, 2016 Feb 04, 2016
LATEST

If you were expecting the bookmarked text to appear in the Text Entry Box on relaunch because the TEB's associated variable should have been passed the suspend data from the LMS, then the issue you may be running into is that the default behaviour for a TEB in Captivate is to overwrite the associated variable value as soon as the TEB enters the slide timeline.

There is a workaround for this issue now.  Take a look at the video on this page where features of a new HTML5 widget called CpExtra are being discussed.  One of the features is a fix for this very TEB issue:

Introduction to CpExtra | Infosemantics Pty Ltd

How to set up to prevent the TEB overwrite is explained here:

http://www.infosemantics.com.au/adobe-captivate-widgets/cpextra/help/preference-variables/teb-behavi...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources