Form Validation

609 views
Skip to first unread message

Jack Lukic

unread,
Sep 30, 2013, 6:47:27 PM9/30/13
to seman...@googlegroups.com
I'm working on porting the autocomplete regular expressions taken from Chromium and using it to set up rules for automatically validating forms.

The XML for Chrome's form autocompletion regular expressions.

My first attempt just porting the rules into json

The idea is when you set up a form for validation $('.form').form(); instead of always having to pass in a form validation object, the module will automatically validate any fields that it can guess the type using its default validation rules. This will make all form validation completely automatic in most cases, with only custom fields unique to your website having to be specified manually.

Reply all
Reply to author
Forward
0 new messages