How it works
Inputmask is a javascript library that creates an input mask. Inputmask can run against vanilla javascript, jQuery, and jqlite.. For more info, please visit the https://flatpickr.js.org/, An inputmask helps the user with the input by ensuring a predefined format. This can be useful for dates, numerics, phone numbers, ...
Custom date format:
mm/dd/yyyyPhone number format:
(999) 999-9999Phone number format with placeholder:
(999) 999-9999Mask
9, 99or ... 9999999999Numeric format
Currency format:
€ ___.__1.234,56Custom format:
999.999.999.999Custom format:
_@_<!-- Plugin Js -->
<script src="assets/bundles/inputmask.bundle.js"></script>
<!-- Jquery Page Js -->
<script>
$(document).ready(function(){
$("#example1").inputmask("99-9999999");
$("#example2").inputmask();
});
</script>