diff --git a/forms/en/validation.texy b/forms/en/validation.texy index a0e1809593..edc865c357 100644 --- a/forms/en/validation.texy +++ b/forms/en/validation.texy @@ -59,7 +59,7 @@ For elements `addText()`, `addPassword()`, `addTextArea()`, `addEmail()`, `addIn | `Range` | value in the range | pair `[int\|float, int\|float]` The `Integer`, `Numeric` a `Float` rules automatically convert the value to integer (or float respectively). Furthermore, the `URL` rule also accepts an address without a schema (eg `nette.org`) and completes the schema (`https://nette.org`). -The expressions in `Pattern` and `PatternInsensitive` must be valid for the whole value, ie as if it were wrapped in the characters `^` and `$`. +The expressions in `Pattern` and `PatternInsensitive` must be valid for the whole value, i.e. as if it were wrapped in the characters `^` and `$`. Number of Items @@ -89,7 +89,7 @@ The `MimeType` and `Image` require PHP extension `fileinfo`. Whether a file or i Error Messages ============== -All predefined rules except `Pattern` and `PatternInsensitive` have a default error message, so they it be omitted. However, by passing and formulating all customized messages, you will make the form more user-friendly. +All predefined rules except `Pattern` and `PatternInsensitive` have a default error message, so they can be omitted. However, by passing and formulating all customized messages, you will make the form more user-friendly. You can change the default messages in [forms:configuration], by modifying the texts in the `Nette\Forms\Validator::$messages` array or by using [translator|rendering#translating]. @@ -279,7 +279,7 @@ $form->addText('zip', 'Postcode:') ->addRule($form::Pattern, 'The postal code is not five digits', '\d{5}'); ``` -The filter is included between the validation rules and conditions and therefore depends on the order of the methods, ie the filter and the rule are called in the same order as is the order of the `addFilter()` and `addRule()` methods. +The filter is included between the validation rules and conditions and therefore depends on the order of the methods, i.e. the filter and the rule are called in the same order as is the order of the `addFilter()` and `addRule()` methods. JavaScript Validation