Title: for(dc:title);test(lenGT 2 and lenLT(9));when(onBlur,onsubmit);name(test1);
Please enter 'one', 'two', or 'three': for(testinput); when(onblur,onsubmit); name(test); test(/^(one|two|three)$/);
Date (YYYYMMDD): for(date1); when(blur, save, submit); test(YYYYMMDD);
NotEmpty OR
NotEmpty AND
Message
rulex {for(either);when('#i1,#i2'.blur, submit);test(i1 or i2);}; rule {for(i3);name(i3);test(notEmpty);}; rule {for(i4);test(notEmpty);} // Note: name defaults to 'i4' rule {for(both);when('#i3,#i4'.blur, submit);test(i3 and i4);};
![]() |
1 | |||
rule {for(vtest);test(notEmpty);when(onBlur);}; rule {forClass(keyword_0);test(notEmpty);when(onBlur);};