Politespace was specifically created to help format numbers entered inside an input field.
The plugin works after the user has entered his number and will add spaces between the ciphers so the number is shown in the developer's desired format.
This is done when the user focuses out of the field.
When the user re-focuses the input field all the spaces are removed and re-added when he's done editing the number.
Politespace can be used with both normal input fields and with textareas, and it allows developers to create their very own numbers display format.
The plugin can be very useful for entering complex data like credit card numbers, bank accounts, ZIP codes, ID numbers, and so on.
Examples and usage instructions are included with the Politespace download package.
What is new in this release:
- Fixes bug with removal of spaces on focus.
What is new in version 0.1.1:
- Fixes bug with removal of spaces on focus.
Requirements:
- JavaScript enabled on client side
- jQuery 1.9.1 or higher
Comments not found