diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-26 21:16:12 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-26 21:16:12 +0100 |
commit | daaca882e48e26e60bf2eea9f4fad108a845fb38 (patch) | |
tree | 4ae9ccaa8315a9fdbe23295b0d0163a153bee1bb /user_guide_src/source/libraries | |
parent | 61797f67a9bcb357ae7e1be9dadffd58eaa3e540 (diff) |
Add 'valid_url' rule to Form Validation (issue #1966)
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/form_validation.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index b1f466f4c..7478ca0ef 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -894,6 +894,7 @@ Rule Parameter Description 0, 1, 2, 3, etc. **is_natural_no_zero** No Returns FALSE if the form element contains anything other than a natural number, but not zero: 1, 2, 3, etc. +**valid_url** No Returns FALSE if the form element does not contain a valid URL. **valid_email** No Returns FALSE if the form element does not contain a valid email address. **valid_emails** No Returns FALSE if any value provided in a comma separated list is not a valid email. **valid_ip** No Returns FALSE if the supplied IP is not valid. |