Create Custom Javascript Validation Popup | #CodeFactory








Download js and css : Download | Demo


Preview :





Description :

An easy to use yet fully customizable form field validator built using native JavaScript with no 3rd JavaScript libraries.

Predefined validation rules :

- required
notzero
- integer
- float
- min
- max
- between
- name
- lastname
- phone
- email
- length
- maxlength
- minlength
- maxfilesize
- fileextension

How to use it :

Import the main JavaScript file js-form-validator.min.js and css file forms.css into your html file.



Apply the validation rules to the target form fields using data-rule attributes. You can apply multiple rules to the same field by seperate the rules with "|".



Initialize the library and done.




Add your own validation rules and error messages :




OR


Add below code in js js-form-validator.min.js.









Tags :
Minimal Form Validation Popup In Pure JavaScript – popup-validation
Customizable Form Validator With Native JavaScript – js-form-validator.js
html5 form validation custom message
Set custom validation message in HTML
trigger html5 validation without submit
jquery form validation without submit button
How to force a html5 form validation without submitting it via jQuery
Trigger standard HTML5 validation without using submit button
html5 form validation, void form action and execute jQuery when all html5 form elements are validated
HTML5 form validation without submit button with custom error message
HTML: HTML5 Form Validation Examples
HTML5, how to force input pattern validation on value change
javascript for open bubble message on blur
HTML5: Is there any way to show error bubble popup for input fields
Show HTML5 validation message
Form Validation UX in HTML and CSS
How to show HTML5 validation messages on input change
Custom Validation Messages for HTML5 Form Constraints
Creating A Custom HTML5 Form Validation

Comments

Popular posts from this blog

How to get IP address and MAC address of client in java | #CodeFactory

At Least One Checkbox Is Checked From All CheckBox Group | #CodeFactory

FTP Connection In Installed Alfresco | Code Factory