Skip to main content
Inspiring
October 30, 2015
Answered

Multiple TEBs one Submit Button

  • October 30, 2015
  • 2 replies
  • 592 views

I followed Lilybiri's blog post about this, but for some reason when I click the submit button all the entries are being marked as incorrect.  Each of the TEBs are set to validate user input, retain txt, no submit button, and no captions.

Here's an example of the conditional action I have on the submit button: FirstTxt (text entry box) is equal to vFirst (variable of text entry box which should be John).  If this is correct a check mark should appear, 1 is added to Acounter , red x should be hidden, AFirst (variable which is set to 1) is assigned 0 and FirstTxt is disabled.  If it's incorrect, then a red x appears. When I enter the correct value a red x appears.

It seems that it's not recognizing that the entry is the same as the variable.  Can anyone help me so that the TEB can recognize that it is equal to the corresponding variable which contains the entry?

This topic has been closed for replies.
Correct answer Lilybiri

Misunderstanding, maybe due to my post? It is not the TEB that has to be renamed but the associated variable. This is even an older post, but you'll see what I mean

Save Time: Create Associated Variable for Text Entry Box while Defining this TEB - Captivate blog

2 replies

Lilybiri
Legend
October 30, 2015

Sorry, you cannot attach screenshots, you have to insert them using the still camera button:

There seems to be something wrong in the logic. You say 'FirstTxt (text entry box) is equal to vFirst (variable of text entry box which should be John).

Do you mean that you associated FirstTxt as variable instead of the generic TexT_Entry_Box_1 to the first TEB and that you put the correct value to be validated in the variable vFirst?

This is a very old blog post...

BNomadAuthor
Inspiring
October 30, 2015

I just renamed the TEB from the generic name to FirstTxt.  I clicked validate and added john. Then I changed the variable name associated with that TEB (Text_Entry_Box_1) to vFirst.  In the conditional action I input FirstTxt is equal to vFirst.  Is this correct?

BNomadAuthor
Inspiring
October 30, 2015

I'm sorry I got confused.  Yes, how you explained it is how I did it.

BNomadAuthor
Inspiring
October 30, 2015

btw - I'm using Captivate 8