Browse Source

Add `checked` validation rule.

pull/317/head
DanielBlack 11 years ago
parent
commit
2a06ffd227
1 changed files with 7 additions and 2 deletions
  1. 9
      server/documents/modules/form.html.eco

9
server/documents/modules/form.html.eco

@ -330,7 +330,7 @@ type : 'UI Behavior'
<tr>
<td>email</td>
<td>value</td>
<td>Checks whether a field is empty</td>
<td>Checks whether a field is a valid email address</td>
</tr>
<tr>
<td>length</td>
@ -367,6 +367,11 @@ type : 'UI Behavior'
<td>value</td>
<td>Checks whether a field is a url</td>
</tr>
<tr>
<td>checked</td>
<td>-</td>
<td>Checks whether a checkbox field is checked</td>
</tr>
</tbody>
</table>
@ -546,4 +551,4 @@ type : 'UI Behavior'
</tbody>
</table>
</div>
</div>
Loading…
Cancel
Save