ID:158968
 
Is there a way to force the input to only allow numbers? I'm kinda tired of making procs inside of procs to restrict the use of letters in a number control. And I'm trying not to use the "input" proc.
"as num"
In response to Mysame
Input skin control. Not proc.
Choka wrote:
Is there a way to force the input to only allow numbers?

Not any that I'm aware of. Probably feature-request material, but it seems as almost too obvious to request.
For what it's worth, you can probably do this easily with an HTML form.

I'm kinda tired of making procs inside of procs to restrict the use of letters in a number control.

Ideally, you should always validate things like this anyway, for a couple of reasons.
In response to Kaioken
Any suggestions on a Java/HTML snippet I could use to help?