Skip to main content
Inspiring
August 26, 2015
Question

Using click boxes for text entry....

  • August 26, 2015
  • 1 reply
  • 265 views

I have an interesting little challenge here.  I am trying to create a number pad In Captivate (think calculator) and allow the user to enter numbers into a text entry box with it.  There are no calculations that need to be done.  Simply text (number) entry with the number pad.

With the click boxes over my numbers in the number pad, I can update the value of the variable associated with the text entry box, but the value isn't reflected in the text entry box itself.

Does anyone have an idea on how I can make this work?

This topic has been closed for replies.

1 reply

Lilybiri
Legend
August 26, 2015

It is not totally clear to me what you want, but I'm aware of some of the problems. Contrary to the Scrolling Text interaction (TextArea) you cannot control the display of a Text Entry Box. That is one of my many feature requests, but it never made it to the priority list because not enough users are asking for it. Democracy reigns!

Long time ago, before many enhancements (it would be much easier now) I created an example of a keypad, to verify a code:

Create a Keypad-Simulation using Advanced Actions - Captivate blog

This is not your use case, I know. If you explain in detail (maybe with a screenshot) what  you want to achieve exactly, I could propose a solution. You can also look at the use of the Scrolling Text Interaction, I have some examples of the its use with control of the display by changing the variable in this blog post (Reset is working perfectly for SWF output, not for HTML5 output):

Custom Short Answer Question - Captivate blog

Inspiring
August 26, 2015

Hi Lieve,

I think I have solved my problem by making it less complicated.  Instead of text entry boxes, I am using simple text captions which contain the variable that a user can manipulate with the keypad.  See the image attached.  The user will be able to use the number pad to enter a new IP address, and when he is finished he will press the submit button (arrow).  Upon submitting, what the user entered will be checked against the IP address he should have entered and will be given the appropriate feedback.

Originally, I had text entry boxes (one for each 'octet' of the IP address) and the number pad was not interactive.  The user just had to use the numbers on his keyboard to enter each octet, and could toggle between the octets with the button at the end of the text entry line.

With this new solution, the user cannot use his keyboard  -- the text entry boxes are gone -- and he has to use the number pad, which, in this case, is more realistic.

That is my plan, anyway.