From 2a06ffd227815b7935616d323dda19e43f376855 Mon Sep 17 00:00:00 2001 From: DanielBlack Date: Mon, 4 Nov 2013 07:15:51 +0800 Subject: [PATCH] Add `checked` validation rule. --- server/documents/modules/form.html.eco | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/server/documents/modules/form.html.eco b/server/documents/modules/form.html.eco index b78e2de7a..6c689211c 100755 --- a/server/documents/modules/form.html.eco +++ b/server/documents/modules/form.html.eco @@ -330,7 +330,7 @@ type : 'UI Behavior' email value - Checks whether a field is empty + Checks whether a field is a valid email address length @@ -367,6 +367,11 @@ type : 'UI Behavior' value Checks whether a field is a url + + checked + - + Checks whether a checkbox field is checked + @@ -546,4 +551,4 @@ type : 'UI Behavior' - \ No newline at end of file +