All Projects → rogeriotaques → valida

rogeriotaques / valida

Licence: MIT license
jQuery Plugin for client side easy form validations.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to valida

jquery.niceform
The jQuery plugin for validation and post form data to server
Stars: ✭ 16 (-5.88%)
Mutual labels:  jquery-plugin, form-validation
natural js
Natural-JS : Javascript Front-End Architecture Framework
Stars: ✭ 35 (+105.88%)
Mutual labels:  jquery-plugin, jquery-validation
Nice Validator
Simple, smart and pleasant validation solution.
Stars: ✭ 587 (+3352.94%)
Mutual labels:  jquery-plugin, form-validation
django-front-end-validators
Use model field validator functions for front end JS form validation
Stars: ✭ 15 (-11.76%)
Mutual labels:  form-validation
JJ CAMP
JavaScript & jQuery 정복 CAMP × 패스트캠퍼스
Stars: ✭ 19 (+11.76%)
Mutual labels:  jquery-plugin
form-validator
Simplest form validation for flutter form widgets
Stars: ✭ 47 (+176.47%)
Mutual labels:  form-validation
Ace-Responsive-Menu
Ace responsive menu is a lightweight jQuery plugin to create responsive multi-level navigation menus with multi device support. Ace responsive menu comes with 3 variants like horizontal, vertical and accordion menu. It gives complete responsive menu solution for any kind of websites or admin templates. The plugin has clean and well commented val…
Stars: ✭ 46 (+170.59%)
Mutual labels:  jquery-plugin
fixedThead
A jQuery plug-in for fixed table header
Stars: ✭ 21 (+23.53%)
Mutual labels:  jquery-plugin
desoslide
Take control of your slideshow with this powerful jQuery plugin
Stars: ✭ 68 (+300%)
Mutual labels:  jquery-plugin
paginathing
a jQuery plugin to paginate your DOM easily.
Stars: ✭ 23 (+35.29%)
Mutual labels:  jquery-plugin
conditionize.js
Small jQuery plugins for handling conditional form fields via data attributes. Unmaintained.
Stars: ✭ 56 (+229.41%)
Mutual labels:  jquery-plugin
jquery-particles-burst
Lightweight particles generator
Stars: ✭ 21 (+23.53%)
Mutual labels:  jquery-plugin
fontIconPicker
A lightweight iconpicker for use with jQuery
Stars: ✭ 30 (+76.47%)
Mutual labels:  jquery-plugin
jquery-sina-emotion
一个用来方便快速地创建新浪微博表情选择对话框的jQuery插件。
Stars: ✭ 56 (+229.41%)
Mutual labels:  jquery-plugin
jquery-scrollToTop
A jQuery plugin that display a button for scrolling the page to the top.
Stars: ✭ 14 (-17.65%)
Mutual labels:  jquery-plugin
react-useForm
World's simplest React hook to manage form state
Stars: ✭ 30 (+76.47%)
Mutual labels:  form-validation
form-data-json
A zero dependency, cross browser library to easily get or set/manipulate form input values as/from a json object.
Stars: ✭ 37 (+117.65%)
Mutual labels:  form-validation
guillotine
jQuery plugin to crop images within an area (fully responsive), allowing to drag (touch support), zoom and rotate.
Stars: ✭ 321 (+1788.24%)
Mutual labels:  jquery-plugin
jquery.geocomplete
A simple plugin for Google Maps Autocomplete.
Stars: ✭ 15 (-11.76%)
Mutual labels:  jquery-plugin
Parallaxie
Easiest, Responsive and Customizable Parallax jQuery Plugin
Stars: ✭ 65 (+282.35%)
Mutual labels:  jquery-plugin

Valida (jQuery)

Latest Version

Valida is a jQuery plugin which provides an easy, fast and lightweight way to make form validations on client-side. Moreover, it's source-code (minified) has about 12Kb.

Live Demo

Details

Validating a form on client-side, using Javascript, can be (at least for me is) a very boring and slower task!

So, looking for a way to make it easier and faster, I wrote this small, light, but very flexible plugin to do the hard and boring job, providing a very smart way to validate web forms!

Since your are using Valida, you can expect:

  • Each TEXTAREA, on your form, which has a max length property set, will receive a description label (right below it) that displays the max length and how many chars were already typed!

  • Each INPUT text field, on your form, which has a filter property set, will be analyzed when the user is typing to inform him/her that the value is valid or invalid!

  • During the validation process, each field on your form which has the "required" property set and has no value or has the "filter" property set and the value doesn't match the given filter, will receive a label (right below it) with a error/invalid message.

  • You also can run some stuff before/after the validation via callback methods and customize the messages and the layout of messages displayed!

  • There are 19 filters available to be used.

How to use it ?

Import the "valida.js" on the HEAD of your page:

<script type="text/javascript" src="valida.js" ></script>

Set what kind of fields are required and has filters:

<input type="text" ... required="true" /> <!-- required or -->
<input type="text" ... filter="email" /> <!-- filter */ or -->
<input type="text" ... required="true" filter="email" /> <!-- both -->

Then, you just need call it:

<script type="text/javascript" src="valida.js" ></script>
<script type="text/javascript" >
    jQuery(document).ready(function(){
       $('your-form').valida();
    });
</script>

Done!

What'll happen ?

When you submit your form (as you usually may do), Valida'll get in action and make the analysis of your form, putting messages (error/warnings) when it's necessary and stopping the form submit for mistakes corrections, moreover, some other nice stuff.


Well, that's it! Easy, don't you?

If you have any suggestion, critics or just wanna say hello, feel free to mail me or leave a comments here.

Happy coding! =)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].