|
| 26 Aug 2013 10:38 PM |
| How do I find when a TextBox's Text is only numbers, and if there are any characters that isn't a number, it will say "Not a valid ID". |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 26 Aug 2013 10:39 PM |
if not tonumber(TextBox.Text) then --not a number else --a number end |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 10:40 PM |
Thanks bro, I'll try it :)
~DevilDefeater - Popped your bubble~ |
|
|
| Report Abuse |
|
|