I want to check a textbox on my form to see if it has a numeric value and I also want to check to see if it is empty. I was looking for 2 functions IsNumeric() and Empty() but could not find equivalent funcs. Can you please help?
thanks,
alex
Kirix Support Forums
IsNumeric and Empty
2 posts
• Page 1 of 1
Re: IsNumeric and Empty
On a GUI Form, you'll need to use JavaScript string manipulation functions to test for numerical values. In particular, the Regexp class in Js is interesting for this purpose. For checking empty values, just check the value of str.length, where str is your string variable. If str.length is zero, your textbox is empty.
Ben Williams
Kirix Support Team
Kirix Support Team
-
Ben - Kirix Support Team
- Posts: 525
- Joined: Mon Dec 19, 2005 6:29 am
2 posts
· Page 1 of 1
Return to Strata Help & Feedback