Can I create a numbers only input field?

Alejandro C. shared this question 3 months ago
Answered

How can i create it?

I am using the Iphone X device.

Best Answer
photo

Check out the attached prototype. You can copy that input and customize it. You could even save it as your own widget in your own library.

Comments (5)

photo
1

Select the input and go to the Properties palette. In the dropdown 'type' select 'number'

photo
1

I did it, but the input still accepts letters.

Files: Help.png
photo
2

Check out the attached prototype. You can copy that input and customize it. You could even save it as your own widget in your own library.

photo
1

Thank you :D


How can i create the same but with only letters?

photo
2

You can do that by specifying the right regular expression. See the prototype attached.

photo