Conditional mask

2 posts, 0 answers
  1. Paul Huff
    Paul Huff avatar
    6 posts
    Member since:
    Dec 2009

    Posted 20 Jan 2010 Link to this post

    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?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Jan 2010 Link to this post

    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.
Back to Top