if ($npwd.validate) { return true; } if ($cpwd.validate) { return true; } if ($('#ChangePwd').form('validate')) { return true; }