Number Pad Unit Test
  • 12 Oct 2022
  • 1 Minute to read
  • Contributors

Number Pad Unit Test


Article summary

Number Pad Unit Test

Examples and set up for the Number Pad widget

The Number Pad Custom Widget allows you to increase the speed and improve the process of number entry for apps. For example, on touch screens where the keyboard is small, the widget can be used to improve the operator input. The unit test application helps you test out the widget and learn how to use it in your app.

How It Works

The Number Pad Custom Widget allows you to input an Integer value and will return the value. There are events fired on each button click and "Enter" click.

Setup

Set up options and recommended configurations:

Props:
Value - output value from the widget after the enter button is pressed
Value Text - output value in text format. They create ease of use in Table ID fields and retain any leading zeros.

Events:
Clicked - Fires when any button is clicked. Event includes the current displayed value. If you want to have the displayed value availiable in your app, you can setup a Trigger on this event to write to a Variable.
Enter Clicked - Fires when the enter button is clicked.

Here's an example of a trigger to write an event output to a variable:
image.png


Was this article helpful?

What's Next