Skip to main content
Skavennwyrm
Participant
Sep 28, 2018 3:58 PM UTC
Question

HTML5 TEB not storing in Variables

Hello all,

I've run into a fun new problem today. I'm updating a software simulation to HTML 5 and I'm having trouble identifying the reason my TEB won't write to the assigned variable. I've tried running tests and it seems the TEB is not writing to the variable no matter what I try.

I am running the cpExtra widget and using the xcmdnPreventTabOut so that tab can work as a submit button for the TEB. The entry into the TEB is stored in UserID. I then call this variable on the next slide, but it stays as null. Can someone help me out with potential issues of fixes?

Thanks in advance,

Jacob Strand

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Widget King
Inspiring
Sep 28, 2018 8:29 PM UTC

Even when I test with deleting all the other slides in the project, the browser developer tools register an error every time I type into the box. The error originates from the primary Captivate javascript file. Looks like a bug in Captivate to me.

Translate
Skavennwyrm
Participant
Sep 28, 2018 8:36 PM UTC

I appreciate all the time, I don't suppose you would know a workaround or be able to advise me on how to continue?

Translate
RodWard
Community Expert
Community Expert
Sep 28, 2018 8:54 PM UTC

The best suggestion would seem to be that you need to copy the slides from your current project into a new blank CPTX project file of the same dimensions.  When we copy paste your problem slide into a new project, then it seems to work.

Translate
Skavennwyrm
Participant
Sep 28, 2018 8:10 PM UTC

Rod,

When I run that test in a new file, it does update immediately. I had thought another file had become corrupted when I first tried to switch and had this error. I started to rebuild the file, but ran into the same issue with this file at the same place on slide 6. I'm not sure what I'm doing that is causing the file to corrupt, but it was working perfectly in flash.

Jake

Translate
Widget King
Inspiring
Sep 28, 2018 5:04 PM UTC

Hi Jacob,

Can you confirm that the CpExtra widget is upgraded to the latest version (Of writing 1.4.1). You should be able to see it if you open the widget properties panel OR open the javascript file and look at the comment at the top.

If this still remains a problem while using the latest version, can you try turning on xprefTEBUpdateFromVariable (see help: Text Entry Box Behavior | Infosemantics Pty Ltd )

If it still doesn't work, please post here and I will get in contact with you to get a example file to test with.

Tristan

Translate
Skavennwyrm
Participant
Sep 28, 2018 5:49 PM UTC

Tristan,

Thank you for the prompt response. I am currently running 1.4.1. I also attempted to turn xprefTEBUpdateFromVariable to "true" but it still is not working.

Thank you,

Jacob

Translate
RodWard
Community Expert
Community Expert
Sep 28, 2018 6:19 PM UTC

Jacob,

We have sent you a private message about this.

Translate