On Nov 10, 11:29 am, Iwan Vosloo <i...@reahl.org> wrote: > (The following does work:) > <input id="cname" name="name" maxlength="5" minlength="2" > required="*" > class="{messages:{required:'Enter this!',minlength:'Too > short!'}}"/>
Oops, that should have read: <input id="cname" name="name" maxlength="5" minlength="2" required="*" class="{data:{messages:{required:'Enter this!',minlength:'Too short!'}}}"/> -i