Good afternoon,
Someone can help me.I’ve this big problem.
In MyForm i have a MyField. This field is a stringedit with limittext == 11.
MyField.text must have this sintax ####-###-##(for example “0125-547-20”)
where # represents a number, not an alphabetic character,and in position 5 and 9 should be -.Also in the field can not be any spaces.
When one of these conditions is not met, an error message appears.
I tried to use strscan and strfind, but it is complicated.
someone any idea to solve this problem?
Thanks in advance