Skip to main content
Known Participant
May 2, 2017
Question

Clearing a TEB Variable?

  • May 2, 2017
  • 1 reply
  • 193 views

I've been searching through the variable and TEB threads but haven't found an answer to this:

Is there a way to clear a variable (i.e. null) in a TEB? I have a TEB that displays a 'results' object with the number the user has entered. The user has the opportunity to enter another number, but they need to first close the results box (otherwise, the number they are typing is displayed) and re-submit the new number in order to get a different 'results' object. 

vari1vari2

This topic has been closed for replies.

1 reply

Lilybiri
Legend
May 2, 2017

I used the CpExtra widget (only for HTML5 output) for that purpose. Out of the box you can clear the value of the TEB-variable, but that change will not show up in the TEB itself on runtime. You can have a look at this blog post, where I used TEB's and the widget:

Playing with Numbers - part 1 - Captivate blog