#Validate chosen Checks the input string by custom function and add to the results if passed the validation
See demo.
<div class="validateChosen">
<select multiple="multiple" data-placeholder="Placeholder"></select>
</div>
document.getElements('.validateChosen').set('validateChosen', {
validator: function(text){
...
return true | false;
}
});
Name | Type | Default | Description |
---|---|---|---|
validator | function | return true; | Checks the input string |
Validate chosen is written in Mootools(support 1.3+) and uses Chosen script.
Many thanks to Matt Bentley from CanIRank for allowing me to publish this library.
Validate chosen is released under an MIT License.