Merge pull request #34 from Repkit/master

fix validation for elements named as array element[field]
new minified version
version 2.0 here we go
added readme
Now possible to validate file size, extension and type using the file module
fixed typo in function name in 2.0 changelog

was driving me crazy :)
added help comment in setupForm example

to help newbies who try to put all scripts in DOM head
Merge pull request #38 from stevewasiura/patch-7

added help comment in setupForm example
Merge pull request #37 from stevewasiura/patch-6

fixed typo in function name in 2.0 changelog
renamed backend to server, tried to reduce size of jquery.form-validator.min.js
removed small bug that came with last commit
modify valAttr setter, to allow external scripts to set element validations

allows ext javascript to set validation attributes using:

$("[name='group_id[]']:eq(0)")
    .valAttr('','validate-checkbox-group')
    .valAttr('qty','1-2')
    .valAttr('error-msg','chose 1, max 2')
    ;

this is useful when dealing with a group of checkboxes generated from server-side script, and you don't need validation on all the items, just he first one. an example will be forthcoming in my next patch that adds "checkbox-group" to the validation library.

existing code base would append dash / hyphen to "data-validation" attribute, thereby rendering that attribute incorrectly, forcing need to use full jQ statement " .attr(n,v) "method.
fn validate, errorSpan exists, append err msg to existing

if parent container wraps more than 1 input (errorSpan exists), future err msgs over-write prev err msgs.

append adds comma & space, then next err msg.
Merge pull request #40 from stevewasiura/patch-8

fn validate, errorSpan exists, append err msg to existing
Merge pull request #39 from stevewasiura/patch-7

modify valAttr setter, to allow external scripts to set element validati...
add validator checkbox_group, plus utility for numeric range

checkbox_group
added validator to check a group of checkboxes, to ensure required number of checkboxes were checked, using range (1-2), min1, or max2, etc.

lang
added prefix & suffixes for checkbox_group
renamed prefixes & suffixes used for length validation

numericRangeCheck 
added utility function to evaluate value against allowed parameter. abstracted internal check in validate_length to use this util function instead of repeating functionality

vaildate_length
edited function to use new utility function numericRangeCheck
add new code descriptions

for validator checkbox groups
and variable name changes
input field selector onblur, name changes

jQ selector of form inputs for onBlur, only select input that have attribute "data-validation", this skips form elements with no validation, including submits, buttons, and reset

i was going crazy debugging this when every function was named validate, dovalidate, validateInput, etc. 
so i renamed them based on what they did.
thanks
bug fix numericRangeCheck, bug fix checkbox_group

numericRangeCheck had bug in conditional structure; fixed.

checkbox_group had bug when checking checkboxes in same group.
added special test in validateInput() function, to force element to be first input element in group, so error msg only output once. also changed .append back to .text to support this case.
Merge pull request #42 from stevewasiura/patch-10

add validator checkbox_group, plus utility for numeric range