Mathachew / jquery-autotab

A jQuery plugin that provides auto tabbing and filtering on text fields in a form
http://autotab.mathachew.com/
366 stars 98 forks source link

Auto tabbing on specific characters #13

Closed Mathachew closed 10 years ago

Mathachew commented 10 years ago

Add support for auto tabbing on specific keys, like the tab key itself.

If there are a set of fields for an IPv4 address, trigger the autotab-next event when a period is pressed. In the case of an IPv6 address, do the same for a colon. If the maxLength is reached, the same key is ignored, just like the tab key is ignored immediately after an auto tab.

This feature is more useful in situations where a field supports a minimum and maximum number of characters.