Skip to main content
Known Participant
September 10, 2015
Question

When entering text in 'text entry' box it reveals a button

  • September 10, 2015
  • 1 reply
  • 346 views

Hi

I wonder if it's possible to have a text entry box that users have to type in to reveal a continue button.

So they can't progress unless they've typed in text into the text entry box?

I've tried doing a conditional action as follows:

If text_entry_box1 is equal to 1

then show button 1.

But I'm not familiar working with text variables so know that using 'literals' may not work properly.

Thanks

This topic has been closed for replies.

1 reply

Lilybiri
Legend
September 10, 2015

How did you trigger this conditional action? Is this Text Entry Box validated or not? If the answer has to be 1 you don't need an advanced conditional action at all. In that case be sure that the TEB is validated, that the only correct answer is 1, and you can use the Success action to show that Next button.

arashmazAuthor
Known Participant
September 10, 2015

How do you set for the TEB to be validated?

I just want to be able to show a button when a user enters any text in the TEB not a specific text string or a number.

I'm not sure how to make this happen?

Lilybiri
Legend
September 10, 2015

Not validated in that case. You have to test if the TEB is empty. To make that possible you need to create an empty user variable, will label it v_null.

Use this Conditional advanced action to be triggered by the Success event of the TEB, I will label the associated variable not with its generic name (which is the same as the name of the TEB), but v_TEB:

IF v_TEB is equal to v_null

    Show warning                        I think it is good to show a text in that case to push the user at entering something, have this text invisible in output at start

ELSE

    Show Bt_Continue

More info about that empty variable:

Where is Null? - Captivate blog