/* * To change this template, choose Tools | Templates * and open the template in the editor. */ var validations=[{ "input":"text", "validations":["required","maxlen","minlen","email","numeric"] }, { "input":"select", "validations":["noselect"] }, { "input":"checkboxlist", "validations":["minselect","maxselect"] }, { "input":"checkbox", "validations":["mustcheck"] },{ "input":"date", "validations":["required"] }]; var rows= ["tr_required","tr_minlen","tr_maxlen","tr_minselect","tr_maxselect","tr_noselect","tr_email","tr_numeric","tr_mustcheck"]; function showHide(validations){ var active=false; for(var i=0;i