Entering Text or Numbers in Sim

Hi!

I captured a process fr a sim where the user is supposed to enter a certain code, then click continue. I did so while capturing, but I can't seem to get it to do it in the sim.

I need to add a text box? And can I have the continue hotspot advance only when the correct input is provided?

See attached

3 Replies
Brian Cook

Thanks! And now for the hard part (or me at least). I would like for the "Continue" button (slide 2.3) to enable once the user has entered the correct code, but without having to click outside the box or press enter. This will line up with the actual procedure we are simulating.

Can I do this by setting up a code like 123456 and have the variable change when the user presses the "6" button?

Maria Costa-Stienstra

Hi, Brian!

The when variable changes trigger needs to lose focus for the numeric entry to be set. Since clicking the continue button is also an action that takes the focus from the entry field, you can "fake it":

  • Set the Continue button to an initial disabled state

Windows 10 (1) 2021-06-23 at 10.08.29 AM

  • Add a trigger to enable it once the variable changes, if the variable equals the code you need:

Windows 10 (1) 2021-06-23 at 10.10.17 AM

This is what it will look like:

Screen Recording 2021-06-23 at 10.11.44 AM

Let me know if this works!