javascript - Using the JQuery Autotab plugin, is it possible to create a field that accepts exactly 6 digits? -
i'm working autotab jquery plugin
here's example give in autotab documentation...
regular expression (allows numbers , periods)
$('#regex').autotab({ format: 'custom', pattern: '[^0-9\.]' });
the weird thing pattern set of characters negated caret (^). assume way works pattern specifies characters user isn't allowed enter.
i trying create field left blank user, or accept 6 , 6 (no more, no less) digits. more complex autotab allows?
Comments
Post a Comment