JAVASCRIPT » Forms

  Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg

Number formatter


This easy to use number formatting script will allow you to format your numeric fields easily. You can specify the default format, pass custom long AND short formats easily with ONKEYPRESS. (For example: a telephone number can be formatted as (###) ###-#### OR ###-#### depending on how many characters your user enters). This script can be used for any numerical format, such as dates, phone numbers, social security numbers, etc. If your user goes beyond the length of the format (a telephone extension, for example) it leaves the remaining input untouched. Designed to be easily customizable, this script can be pasted in quickly and easily! You use 1 script for unlimited fields, and they can each be formatted in a different way. This script now includes templates for formating common number entries, such as telephone numbers and SSNs. You can easily change or create your own formats.

Free   Version: n/a   Platform(s): All   Updated:  March 15, 2008

Developer:On3Galleries.com Demo Download  
Rated by: 1 user(s)  
Follow Navioo On Twitter

Submit a resource