https://github.com/bigardone/multinput
MultInput is a lightweight jQuery plugin that automatically splits your form inputs into multiple inputs with the help of a pattern
https://github.com/bigardone/multinput
Last synced: about 1 month ago
JSON representation
MultInput is a lightweight jQuery plugin that automatically splits your form inputs into multiple inputs with the help of a pattern
- Host: GitHub
- URL: https://github.com/bigardone/multinput
- Owner: bigardone
- License: other
- Created: 2013-12-28T09:59:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-12T09:19:19.000Z (over 11 years ago)
- Last Synced: 2025-05-09T01:11:25.225Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://codeloveandboards.com/multinput/
- Size: 328 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
MultInput
=========
**MultInput** is a lightweight jQuery plugin that automatically splits your form inputs into multiple inputs with the help of a pattern.[Homepage](http://codeloveandboards.com/multinput/)
###Features
- Lightweight jQuery plugin.
- JavaScript and CoffeeScript versions.
- CSS and SASS styling.
- Available markup API via data attributes.###Getting started
Just make sure to include the following scripts on your HTML page:
Set the data-multinput and data-pattern attributes to the input you wish to split:
And that's all :)###Options
####Data attributes
- **data-multipart**: Add this attribute to automatically apply the plugin to the inputs you want to split.
- **data-pattern**: The pattern which will be used to generate the inputs.
- **data-separator**: The char which will be used to split the pattern and generate the inputs.
- **data-classes**: Additional classes you can add to the inputs generated to apply your own styles.