OnScreenKeyboard / User Keyboard

I am curious about the onscreenkeyboard component located under tools in the palette . Is there any tutorials or examples of how to use the keyboard with fields in TD.

What I am trying to create is essentially a form that can be completed with a touchscreen, the onscreenkeyboard would appear when a text field is selected, then the information keyed in by the user would be validated and stored in a table when the user submits the form.

Additionally examples of field format validation would be helpful.

1 Like

I would also like to know … seems very handy that it exists but I can not get it to work. Information on how to make it work is missing from the Derivative help pages :frowning:

1 Like

I figured this out, I had to go into the text box and find the parameter that was linked to the text input and then connect that to the text output from the keyboard, it was fairly easy in the end, but tracking down the input for the text is sometimes not, just type some nonsense and try to track the path of references through.

Going into the textbox is not needed. I just testes this setup and it works already quite nice (except that it also writes in modifier-keys, but can be made clearer):

Basicy, I added a Fieldcomp parameter and wrote in the callbacks to append the pressed button onto the field panelValue of the fieldComp in the parameter.
I then used a opFindDAT to find all fieldCOMP panelcomponents in the project and fed them into a panel-execute. The panelexecute simply set the fieldComp-parameter of the keyboard to the panel that triggered the panelExecute amd opens a viewer.

2 Likes

Thank you :slight_smile:
Hehe yeah I figured it out, took me a few days to track that down for some reason, but I got it, works great :slight_smile: