hailwood / jQuery-Tagit

The Jquery Tagit Plugin transforms an html unordered list into a unique tagging plugin.
264 stars 109 forks source link

Simple beforeAdd callback function. #52

Closed kallealberg closed 11 years ago

kallealberg commented 12 years ago

Before a Tag is added there's a possibility to do a simple validation, like checking in the value is an email or numeric. If the function returns false it will stop and no tag will be added.