On May 16, 2006, at 4:02 PM, Trausti Thor Johannsson wrote:
Anyone here good with masks ? I am trying to have an input mask on
an social id number field, ######-#### but have the option of the
first character being a question mark (?), I can't get the
editfield to accept a ? as input. I have tried to set a and A as
the first character, but it won't allow anything that is not
alpabet or a number.
Anyone ?
Seems you need a masked edit field that can have more than one valid
mask for that particular position
I'm quite sure you cannot do
[?#]#####-####
which is sort of what you need or two masks like
?#####-####
######-####
I have a project on my web site that has a masked edit field that
permits you to use multiple masks so you could define two masks and
then it would match either one as long as the user keeps typing in
matching characters that should allow you to do this
check http://great-white-software.com.hosting.domaindirect.com/
MaskedField1_5.zip
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>