FormatterFormat user input to match a specified pattern.

Basic Demo

$('#date-demo1').formatter({          'pattern': '{{9999}}-{{99}}-{{99}}',});

Extended

              $('#product-key').formatter({          'pattern': 'm{{*}}-{{999}}-{{999}}-C{{99}}',          'persistent': true});