benkeen/rsv — pull request #2 by sg552 (2012-09-24 02:51:49+00:00)
Title: new feature: should omit blanks for the field name in 'rules'

There is a very common case that people like using blank keys before typing a comma, e.g.

rules: [
// here the 'first_name' is wrapped by 2 blanks.
"required, first_name ,Please enter your first name."
]

and this often causes an alert:

RSV Error: the field " first_name " doesn't exist! Please check your form and settings

for solving this problem, I added this commit. please review.