rickharrison/validate.js — Issue #3: Use data- attributes instead of/in addition to initializer hash
Author: billsaysthis
Created: 2011-10-17 18:18:26+00:00
State: open

Seems wrong to keep this data separate from the fields themselves, e..g.:

Additionally, I'm curious why you aren't using HTML5 attributes for some of the values. Specifically for required but also where available for type of input (type="url", type="number", min/max length, pattern).