Skip to content

Checks the input string by custom function and add to the results if passed the validation

Notifications You must be signed in to change notification settings

marcinwieprzkowicz/validate-chosen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Validate chosen Checks the input string by custom function and add to the results if passed the validation

Demo

See demo.

Setup

Html

<div class="validateChosen">
  <select multiple="multiple" data-placeholder="Placeholder"></select>
</div>

JavaScript

document.getElements('.validateChosen').set('validateChosen', {
  validator: function(text){
    ...
    return true | false;
  }
});

Options

Name Type Default Description
validator function return true; Checks the input string

Requirements

Validate chosen is written in Mootools(support 1.3+) and uses Chosen script.

Acknowledgement

Many thanks to Matt Bentley from CanIRank for allowing me to publish this library.

License

Validate chosen is released under an MIT License.

About

Checks the input string by custom function and add to the results if passed the validation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published