Press "Enter" to skip to content

JQuery Simple Format User Input Validation Plugin

JQuery Simple Input Validation is a plugin with jquery, just put any HTML Input, class, or id and see what happens it can be used to format user input and restrict input values in an easy way.

html input text format number, html input text formatting, html input number format comma, format input field, input mask html5

Features:

  • It automatically removes the first space in the input field.
  • Capitalize the first letter of each word automatically.
  • input is restricted to alphabetical characters.

How to make use of it:

1. Insert the Simple Input plugin after the jQuery library.

<script src="/path/to/cdn/jquery.slim.min.js"></script>
<script src="/path/to/simple-input.js"></script>

2. Initialize the plugin on the input field and completed it.

<input type="text" />
$(function(){
  $('input').simpleInput();
});

3. Determine whether or not to capitalizes the primary letter of each phrase.

$(function(){
  $('input').simpleInput({
    capitalizeAll: true
  });
});

4. Determine if this input only allows alphabet characters.

$(function(){
  $('input').simpleInput({
    title: true
  });
});

Automatically Format User Input, JQuery Simple Input Validation Plugin/Github


See Demo And Download

Official Website(alicard): Click Here

This superior jQuery/javascript plugin is developed by alicard. For extra Advanced Usages, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *