Home  >  Article  >  Web Front-end  >  Summary of very useful extended web form JS plug-in

Summary of very useful extended web form JS plug-in

php中世界最好的语言
php中世界最好的语言Original
2018-04-13 14:46:431287browse

This time I will bring you a very useful summary of the Extended Web Form JS plug-in. What are the precautions when using the Extended Web Form JS plug-in? Here are practical cases. Let’s take a look. .

In website construction, you can use java to develop a lot of cool special effects and put them on your website, but we know that there are also many open source js libraries and plug-ins on the Internet to choose from. If you are designing custom forms such as User registration/login, guest message or event registration, then the following plug-ins can give your form a better user experience.

JCF Forms

One of my favorite js form plugins is JCF Forms on PSD2HTML. Its name JCF is the abbreviation of Java Custom Forms, which means "Java Custom Form".

Using this plug-in, you can customize the styles of most web form controls such as drop-down lists, range sliders, radio/check buttons, and upload components. It's completely free, written based on JQuery, and very easy to configure.

iCheck iCheck is a plug-in used to beautify radio buttons and check boxes. This plug-in is developed based on

Bootstrap

. The calling code is very concise and requires little JS knowledge to use. The plug-in itself comes with a small number of preset themes, which you can use directly or design new themes yourself. In addition to appearance, this plugin also supports keyboard input, 32 customization options and more than a dozen callback methods to handle user actions.

Parsley.js If you like Vanilla JS, then you will also like Parsley, a free JS-based

form validation

library. Parsley is unique in that it doesn't require complex regular expressions to make it work. It provides built-in validators for all types of input validation, such as phone numbers, emails, addresses, or credit card numbers, etc.

FloatLabel.js FloatLabel is used to implement floating tips for web form input boxes. It is somewhat similar to H5 placeholder. property (which provides a hint describing the expected value of the input field), but unlike FloatLabel The prompt implemented by the plug-in will not disappear when you start typing text in the text box, but will be displayed above the text, which is very user-friendly.

Tooltipster It is a very good choice to use Tooltipster as a prompt tool in relatively complex forms. Tooltipster is a free JQuery plug-in that allows you to add prompt information anywhere on the screen.

You can customize prompt effects based on actual user behavior, such as hover, click, focus trigger, etc. You can also customize their styles and animations, and support Ajax request callback methods.

Fort.js You may have noticed that some websites display a progress bar at the top of the screen to indicate how complete the form is. This is very helpful when users want to know how long it will take to fill out a lengthy form.

Using Fort.js, you only need to enter a few lines of code to implement the form filling progress bar effect on your website. This plugin is also completely free and does not limit the number of fields in your form.

jQuery CC Validator In websites, data security is an eternal theme, especially in e-commerce websites, which often use the function of allowing users to enter credit card information. I believe that jQuery CC Validator is by far the best solution to this application scenario. plugin.

It's completely free, open source, runs on top of the JQuery library, making it very easy for developers to use, and it's an incredible plugin.

BS3 Datepicker

BS3 Datepicker is a plug-in for customizing date controls in web forms. It is written based on the Bootstrap framework and completely revolves around the Bootstrap design style. The interface is simple and clear, making it clear at a glance. In fact, you can find a lot of awesome plugins in Bootstrap.

jQuery File UploadsIt is undeniable that processing user uploaded files is a very complex form task, especially when you need to create an upload control that works on all devices and can also define Things get more complicated when you have specific types of files and know how to handle them on the backend.

This JQuery File Upload plug-in can be used as a good solution on the website. It solves most of the problems or configurations you may encounter when uploading files.

jQuery Autotab

Matthew Miller's jQuery Autotab plugin allows you to define a certain length for any form input so that the next form is automatically selected when completed. It is best suited for fields that require a certain number of characters (such as phone numbers or birthdays)

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website!

Recommended reading:

Vue implements keyboard effect

Detailed explanation of the use of node.js routing middleware ge and post requests

The above is the detailed content of Summary of very useful extended web form JS plug-in. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn