This is a migrated thread and some comments may be shown as answers.
Conditional mask
1 Answer 26 Views
This is a migrated thread and some comments may be shown as answers.
Paul Huff
Top achievements
Rank 1
Paul Huff asked on 20 Jan 2010, 05:38 PM
Is it possible to have a conditional mask?  As in, zip code (5 digit) would be #####.  But if they kept entering numbers (up to 4 more) it would be ##### - ####.

Is this possible?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 21 Jan 2010, 10:40 AM
Hi Paul,

I hope the following forum link which discusses how to set mask from client side will shed some light in achieving the functionality.
Setting Mask with Javascript

-Shinu.
Tags
Input
Asked by
Paul Huff
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or