|
-
Dec 3rd, 2002, 02:23 AM
#1
Thread Starter
Addicted Member
Mask postal code
how do i get mask edit to show the canadian postal code??
Canadian Postal Code which is of the form: letter,number,letter space number,letter,number
i've tried
&#& #&#
$#$ #$#
C#C #C#C (this work alright, but it lets me enter all numbers??, it doesn't restrict to just letters, also i want to force uppercase for letter..?? HOW?? )
thanx a lot
--770
-
Dec 3rd, 2002, 02:43 AM
#2
Hyperactive Member
Create a mask edit box with the following for the Mask property:
>?#>? #>?#
> Forces Uppercase
? Only allows Letters
# Only allows Numbers
-
Dec 3rd, 2002, 02:48 AM
#3
Thread Starter
Addicted Member
-
Dec 4th, 2002, 12:01 AM
#4
Thread Starter
Addicted Member
hey
how about a mask edit for an email address validation
[word]@[word].[word]
thanx
-
Dec 4th, 2002, 12:38 AM
#5
I think the MaskedEdit control is one of the worst controls there is. You'd be better off validating the text in a normal text box. If you search the forum for e*mail AND validate you'll find a number of solutions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|