Skip to main content
Skavennwyrm
Participant
September 28, 2018
Question

HTML5 TEB not storing in Variables

  • September 28, 2018
  • 3 replies
  • 753 views

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 has been closed for replies.

3 replies

Widget King
Inspiring
September 28, 2018

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.

Skavennwyrm
Participant
September 28, 2018

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

RodWard
Community Expert
Community Expert
September 28, 2018

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.

Skavennwyrm
Participant
September 28, 2018

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

Widget King
Inspiring
September 28, 2018

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

Skavennwyrm
Participant
September 28, 2018

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

RodWard
Community Expert
Community Expert
September 28, 2018

Jacob,

We have sent you a private message about this.