Upvote 1

Can I create a numbers only input field?

Answered Alejandro C. 5 years ago

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.

Replies (1)
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
Leave a Comment
 
Attach a file