From 6c24d7dcef272d752887edf98fb54a32f4eb19e7 Mon Sep 17 00:00:00 2001 From: Christopher Bischoff Date: Tue, 3 Feb 2015 11:11:51 +0100 Subject: [PATCH] Fix syntax error in code example --- docs/en/02_Developer_Guides/03_Forms/01_Validation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/02_Developer_Guides/03_Forms/01_Validation.md b/docs/en/02_Developer_Guides/03_Forms/01_Validation.md index c1910e70a..a9c9f0064 100644 --- a/docs/en/02_Developer_Guides/03_Forms/01_Validation.md +++ b/docs/en/02_Developer_Guides/03_Forms/01_Validation.md @@ -102,7 +102,7 @@ the same validation logic applied to it throughout. } else if($this->value > 5 || $this->value < 2) { $validator->validationError( - $this->name, "Your number must be between 2 and 5, "validation", false + $this->name, "Your number must be between 2 and 5", "validation", false ); return false; @@ -232,4 +232,4 @@ Again, custom error messages can be provided through the `FormField` ## API Documentation * [api:RequiredFields] - * [api:Validator] \ No newline at end of file + * [api:Validator]