jzaefferer/jquery-validation — Issue #229: Initially setting "valid" class would be nice
Author: aliquid
Created: 2011-10-14 23:56:20+00:00
State: open

I really like how the validation is lazy first time around.

Having a background colour for the "required" and transparent !important background for the "valid" class, it would be nice if the "valid" class was set initially for valid fields (i.e. "partial" or "one-way" validation if you will).

Workaround for time being seems to be;
$(".required:filled").addClass("valid");
My only worry is if "valid" is somehow not only indicative but also prescriptive and could break rules other than "required".