73 Commits

Author SHA1 Message Date
82be8b61cf Replacing deprecated ::className() with ::class (#18671) 2021-05-22 23:14:54 +03:00
1d514e2ded Revert "Fix anchors in docs (#18344)"
This reverts commit 0f4b147352f2524f2a1530d419d13a8c8acd5069.
2020-11-05 14:14:35 +03:00
0f4b147352 Fix anchors in docs (#18344) 2020-11-01 17:51:16 +03:00
d62590807d Fix #18051: Fix using EachValidator with custom validation function 2020-07-06 16:18:03 +03:00
e3b7581bca Fixes #15145: Fixed Validator::skipOnEmpty documentation [skip ci] 2019-01-09 06:51:31 -05:00
1cfd5e624f Fix AD Hoc example syntax (#16491) [skip ci] 2018-07-07 00:45:04 +03:00
033f2b4a13 Fixes #16108: Use less confusing syntax [skip ci] 2018-04-16 17:48:44 +03:00
57b31fc92c Added example for yii\validators\Validator::addError() [skip ci] (#15197) 2018-02-03 18:41:29 +07:00
3d27ab3463 Removes unnecessary integerOnly option (#15546) [skip ci]
`integer` validator already has `'integerOnly' => true`.
2018-01-23 22:53:55 +03:00
6f58f01398 Update input-validation.md (#14603) [skip ci] 2017-08-07 00:39:10 +03:00
f83e23ff17 Fixed typo [skip ci] 2017-08-04 23:47:37 +03:00
a55de109aa Update input-validation.md (#14514) 2017-07-22 23:54:58 +02:00
b1a49a18a7 Fixes #14509: clarified on when AJAX validation is triggered 2017-07-21 23:38:40 +03:00
fcfcdbdc34 advanced example on filter validator
fixes #4284
2017-05-23 23:21:03 +02:00
4c2e5119b6 Fixes #13387: Extracted "Custom validator for multiple attributes" into community cookbook 2017-01-14 13:09:49 +03:00
e13a18ba8b added missing version information
fixes #13259
2016-12-20 22:40:44 +01:00
bd85b7ced2 Closes #6242: Access to validator in inline validation (#13027)
* Closes #6242: Access to validator in inline validation

* Updated PHPDoc according to PR review [skip ci]

* Imrpoved PHPDoc, updated guide info [skip ci]

* Fixes related with PR review

* Corrected CHANGELOG [skip ci]

* Update input-validation.md

added version info
2016-12-08 23:29:53 +01:00
f5beaf3edf Make validator getClientOptions public
This allows implementing custom client-side validation
without extending every validator.

Fixes #11163
close #13145
2016-12-08 01:30:36 +01:00
76e253e140 yii\validators\Validator - added separate methods for client-side validation options
Closes #11163
2016-12-05 22:33:49 +02:00
db349527e7 fix typo in guide code block 2016-11-22 16:12:57 +01:00
60af0a56cf Closed #12778: Added docs for multiple attributes validation (#13005)
* Added docs for mutiple attributes validation

* Fixed typo in formatting [skip ci]

* More precise explanation about count of validator runs

* Corrected salary min in integer rule

* More strict check in when, additional h3 headers, loop alternative

* Added custom validator section

* Use more accurate phrase

* Block code formatting - php was missing [skip ci]

* Fixes related with PR review [skip ci]

* More fixes related with PR review, removed unnecessary @inheritdoc [skip ci]
2016-11-17 18:52:24 +01:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
685f16e8ef 📖 Updated guide pages - wrap true, false, null 2016-09-20 10:49:15 +03:00
7d27e203e0 📖 Added missing hyphen [skip ci] 2016-09-08 06:05:45 +03:00
a5b9df0c31 📖 Wrap "null" [skip ci] 2016-09-06 06:21:04 +03:00
b3059a9a76 Updated Input Validation guide. Closes #12377 2016-08-29 11:34:38 +03:00
deb89177eb Fixed docs typo 2016-05-01 10:02:35 +03:00
9f1c7ba532 Fixed typo 2016-04-30 22:17:00 +03:00
cc40c55a6b Fixes #6160: Referred to Yii 2.0 cookbook for low level validation-related JavaScript methods reference 2016-04-30 21:23:28 +03:00
707ec2b48c Fixes #11243: added note about naming validation rules for later use to validation guide 2016-04-30 20:33:12 +03:00
e5bcbf4e1d Closes #11228: yii.activeForm.js - AJAX validation will not be triggered if client side validation failed 2016-04-06 23:53:52 +03:00
8da214d264 more docs for #10701 2016-01-29 20:59:02 +01:00
83d72cddc0 Fix logic in JS code expression in docs. 2016-01-02 02:34:17 +03:00
75404ff592 Guide for input-validation updated. Closes #10314 2015-12-06 11:19:29 +02:00
8a3babc9ef Fixes checking for $.inArray() result in docs [skip ci]
See http://stackoverflow.com/questions/5304458/jquery-inarray-only-looking-at-first-value
2015-10-24 20:10:12 +03:00
2085dda183 Fixed typo 2015-09-01 12:25:03 +03:00
ae2dea6b20 More details for input-validation.md 2015-09-01 01:42:02 +03:00
2e65d0ce28 More details for input-validation.md 2015-09-01 01:41:57 +03:00
ba314264ac Fixed typo 2015-08-07 15:17:29 +03:00
6a7f5cc69a renamed guide page [skip ci] 2015-04-01 09:34:00 -04:00
36bebbfefb use id instead of name for anchor references in the guide
fixes #7013
2015-01-25 22:13:16 +01:00
5ab1d1a0d1 Fixes #6992. 2015-01-24 08:57:53 -05:00
7bee6f811d docs/guide/input-validation.md - typo [ci skip] 2014-12-15 22:27:19 +09:00
4e7421d630 Fixes #6505 2014-12-12 22:56:51 -05:00
9bbc0747a8 Update input-validation.md
Minor syntax changes.
2014-11-27 20:26:53 -03:00
3800872bed Update input-validation.md
You are validating the data, not users.
2014-11-05 10:59:26 -05:00
02cc3901ca doc fix [skip ci] 2014-10-30 13:18:27 -04:00
48ec791e4a Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode() 2014-10-19 18:50:46 +04:00
9c1750b2ee Update input-validation.md 2014-10-08 14:28:51 +04:00
d79d3a8cba jquery .val() not .value
In line 180. 
It should be .val() instead of .value.

This is my first edit.
2014-09-29 11:34:53 +05:30