How do I Make sure that textbox only have numbers, not text

Get help using Construct 2

Post » Fri Jan 29, 2016 11:50 am

Hi all,
In properties of textbox, if I give type as number, then it only accepts number.
It is fine in chrome but in IE and firefox it is taking text also.
How do I make sure that it only accept numbers in Chrome, IE and Firefox.

Also is there any way to remove those up/down arrows.

Image

Image
B
10
S
2
Posts: 20
Reputation: 694

Post » Fri Jan 29, 2016 12:11 pm

For checking whether it's a numeric value or string you can use System -> Is value type.
Regarding styling (arrows), TextBox you have to style with CSS. There is something mentioned here: http://stackoverflow.com/questions/2337 ... firefox-29
ImageImageImage
B
36
S
21
G
88
Posts: 1,079
Reputation: 49,689


Return to How do I....?

Who is online

Users browsing this forum: AnD4D, busydude, Google [Bot] and 69 guests