bmurtari
08-30-2006, 09:58 AM
I am trying to verify that the individual has entered ten digits in a masked DlgEditField. The mask is for a phone number and is configured as (###) ###-####. I don't care what digits they entered, just that they entered 10 of them.
- I tried testing the length of the string but it is 14 no matter what.
- I tried string trimming all the numerics, parentheses and the dash and searching for remaing spaces, that didn't work.
Any other suggestions? I really want to keep the mask to ensure standard inputs.
Any help would be greatly appreciated!
- I tried testing the length of the string but it is 14 no matter what.
- I tried string trimming all the numerics, parentheses and the dash and searching for remaing spaces, that didn't work.
Any other suggestions? I really want to keep the mask to ensure standard inputs.
Any help would be greatly appreciated!