Input Masks

Results 1 to 2 of 2

Thread: Input Masks

  1. #1
    Gio Guest

    Default Input Masks

    I&#039m trying to figure out a way to have input masks on certain fields in my forms. For example, if the user is entering in a phone number, I want the field to automatically input the ( ) around the first 3 digits, and a hyphen after the next three digits. Is there a way to do this?

  2. #2
    Join Date
    Dec 1969

    Default RE: Input Masks

    You could probably use the onKeypress event, together with some JavaScript, to read in each keypress individually and modify the output accordingly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts