Masked Input

Allows the user to enter fixed width input while conforming to a character format. Powered by jQuery Masked Inputarrow-up-right plugin.

circle-info

Please refer to jQuery Masked Input Documentationarrow-up-right to learn about plugin options

Step one

Include the javascript file inside the <body>before core template script inclusions, if it's not there already.

<script src="assets/plugins/jquery-inputmask/jquery.inputmask.min.js" type="text/javascript">

Step two

Add the markup.

<input type="text" id="phone" class="form-control">

Step three

Apply the plugin.

circle-exclamation

Last updated