From dbbdd95b671e1050b9072a347af439dd29593ae9 Mon Sep 17 00:00:00 2001 From: Calvin Date: Sat, 24 Mar 2012 01:04:28 +0800 Subject: [PATCH] =?UTF-8?q?#13=20=E5=A2=9E=E5=BC=BAJquery=20Validate=20Plu?= =?UTF-8?q?gin=E7=9A=84=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/views/account/userForm.jsp | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/examples/mini-web/src/main/webapp/WEB-INF/views/account/userForm.jsp b/examples/mini-web/src/main/webapp/WEB-INF/views/account/userForm.jsp index 351f6f24..20fb835a 100644 --- a/examples/mini-web/src/main/webapp/WEB-INF/views/account/userForm.jsp +++ b/examples/mini-web/src/main/webapp/WEB-INF/views/account/userForm.jsp @@ -15,18 +15,8 @@ $("#inputForm").validate({ rules: { loginName: { - required: true, remote: "${ctx}/account/user/checkLoginName?oldLoginName=" + encodeURIComponent('${user.loginName}') }, - name: "required", - password: { - required: true, - minlength:3 - }, - passwordConfirm: { - equalTo:"#password" - }, - email:"email", groupList:"required" }, messages: { @@ -60,26 +50,26 @@
- +
- +
- +
- +
- - + +
- +