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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -