From a73aaf4a4c260f1ba74480d404d38ccb38b9b01a Mon Sep 17 00:00:00 2001 From: Gary Green Date: Mon, 26 Jan 2015 18:19:31 +0000 Subject: [PATCH] Added 'string' validation rule --- validation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/validation.md b/validation.md index b252fcd4483..5bc2ca32ed8 100644 --- a/validation.md +++ b/validation.md @@ -189,6 +189,7 @@ Below is a list of all available validation rules and their function: - [Required Without All](#rule-required-without-all) - [Same](#rule-same) - [Size](#rule-size) +- [String](#rule-string) - [Timezone](#rule-timezone) - [Unique (Database)](#rule-unique) - [URL](#rule-url) @@ -395,6 +396,11 @@ The given _field_ must match the field under validation. The field under validation must have a size matching the given _value_. For string data, _value_ corresponds to the number of characters. For numeric data, _value_ corresponds to a given integer value. For files, _size_ corresponds to the file size in kilobytes. + +#### string:_value_ + +The field under validation must be a string type. + #### timezone