An open API service indexing awesome lists of open source software.

https://github.com/hwclass/validatestrictly

A small validation library to restrict characters to be entered into any input.
https://github.com/hwclass/validatestrictly

Last synced: 10 months ago
JSON representation

A small validation library to restrict characters to be entered into any input.

Awesome Lists containing this project

README

          

validatestrictly
================

A Validation Plugin for Inputs with Parameters

Validates and deletes if input character value is a special char, digit or alphabetical by every char.

### usage



$('input').bind('keyup', function() {
$(this).validateStrictly(['case1','case2', 'case3'], [{customCaseN : 'abc'}]);
});

### usage (IE)



$('input').bind('keyup', function() {
$(this).validateStrictly(['specialChars','numbers'], [{customCaseN : 'abc'}]);
});

### usage (Modern Browsers)



$('input').on('input', function() {
$(this).validateStrictly(['specialChars','numbers'], [{customCaseN : 'abc'}]);
});