113 Commits

Author SHA1 Message Date
66557285a6 #7259: fixed using errrorInputs 2015-08-02 14:32:49 +03:00
9587d9b29c #7259: Added back errorAttributes 2015-08-02 13:40:22 +03:00
e2f5279b54 Better fix for #7259 2015-08-02 13:30:53 +03:00
2577a5915b Fixes #7259: Added errorAttributes parameter to ActiveForm afterValidate event. Made scrolling to first error optional 2015-08-02 12:58:35 +03:00
1d6a340534 Fixes #8161: Fixed active form data-method submit bug when client validation is used 2015-07-27 18:53:40 +03:00
7a32272fe1 Merge pull request #8721 from ShNURoK42/patch-1
Update yii.activeForm.js [skip ci]
2015-06-11 11:41:05 +02:00
a99ae5b1ed Fixes #8661: Fixed yii.activeForm.js scrolling to top 2015-06-11 11:37:19 +02:00
75dd60ae4a Update yii.activeForm.js 2015-06-09 19:10:53 +07:00
926770b7d9 Changed usage of .prop() to .attr() in order to avoid issues when working with forms having input with names matching form properties. Related to #8014. 2015-04-09 23:06:47 +03:00
3abc07d16c Fixes #6642: Fixed the bug that using confirmation dialog via data-confirm in an ActiveForm may cause the dialog to appear twice 2015-03-29 12:01:24 -04:00
41e5a8a83b Fixes #6975: Pressing arrows while focused in inputs of Active Form with validateOnType enabled no longer triggers validation 2015-03-21 15:52:44 +03:00
e56bf03130 Fixed test break. 2015-02-22 19:33:23 -05:00
57c298a523 Fixes #7361: The trim validator now works on the client side too 2015-02-22 19:25:06 -05:00
770d65a052 Fixes #6361 2015-02-02 12:27:27 -05:00
4dcbe83aa6 Fixes #6361: Added validateAttribute() to yii.activeForm.js to support manually triggering data validation of an input 2015-02-01 22:46:16 -05:00
a43833544b Attach forceValidate event to attributes
Allow attributes to have their validation triggered by a custom event.
`validateAttribute` is called with `forceValidate` set to true.
2015-02-01 22:33:16 -05:00
fa0a3aefae Fixes #6467: ActiveForm will scroll to the nearest visible element when the first error input is hidden 2014-12-13 19:53:18 -05:00
2a0797dd23 Fixes #6266: Clicking on reset button does not hide error summary when using ActiveForm 2014-11-26 11:06:26 -05:00
232bcd1dd5 Fixes #5171: Fixed the bug that ActiveForm + Pjax submit event is only triggered once. 2014-10-10 00:57:09 -04:00
82037bc70e Fixes #5124: Added support to prevent duplicated form submission when using ActiveForm 2014-09-22 12:19:11 -04:00
deb6ba3cf9 Fixes #5105 [skip ci] 2014-09-18 16:47:43 -04:00
108b451805 Fixes #5049. 2014-09-18 15:41:11 -04:00
a187d47aec Fixes #5049: ActiveForm::validationDelay should be applied to user types only 2014-09-16 14:40:00 -04:00
0fc46760b0 Fixes #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true 2014-09-15 23:24:12 -04:00
11132cee1a Fixes #5006. 2014-09-15 23:03:10 -04:00
de63a46d82 Fixes #4984. 2014-09-10 21:57:02 -04:00
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
ae13b0593f Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically 2014-09-05 23:10:23 -04:00
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00
25c2f9bf85 Made error message encoding configurable for ActiveForm
Updated yii.activeform.js to use the encode option introduced in #4122.
Updated ActiveForm with new option encodeErrorSummary

fixes #4690, close #4691
2014-08-13 00:53:38 +02:00
594b57836d Added validation js callbacks
- `beforeValidateAll`
- `afterValidateAll`

fixes #4234, close #4559
2014-08-04 18:06:10 +02:00
3a10c4cfa4 Update yii.activeForm.js
Refactored
2014-07-30 14:24:47 +01:00
66e0e8aafb Update yii.activeForm.js 2014-07-28 17:14:44 +01:00
334b313020 Update yii.activeForm.js
remove empty message arrays
2014-07-28 16:23:29 +01:00
5186343734 deferred validation
Added support of deferred to ```ActiveForm``` validation.
2014-07-28 09:52:21 +01:00
88191bbe5c New callback functions for form validation using Ajax.
close #4436
2014-07-25 09:24:04 +02:00
051b4194e9 Fixes #3216. 2014-04-22 14:54:02 -04:00
d859fca569 Fixes #3216: Fixed the bug that yii.activeForm.destroy() did not remove submit event handlers 2014-04-22 12:46:37 -04:00
bbc7b0768f separate id and name of attribute for client side validation 2014-03-22 21:21:11 -04:00
7960ccdf50 Tab to spaces conversion. 2014-03-16 20:05:54 -04:00
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
a32753b5e5 #2417 Possibility to specify dataType for $.ajax call in yii.activeForm.js 2014-02-13 16:13:22 +02:00
51c0231269 Merge pull request #1958 from 6pblcb/yiiActiveForm-beforeSubmit
Transfer beforeSubmit function after global validation all fields forms
2014-01-22 08:03:10 -08:00
4527a3dc4c Fixes #1998 : get input value from hidden field when necessary(unchecked checkbox/radio) 2014-01-16 14:45:25 +01:00
d30ca6d1f9 beforeSubmit function after global validation all fields forms 2014-01-14 10:59:41 +07:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
96fd37de2e Fixes issue #49: finished CAPTCHA feature. 2013-05-08 15:27:06 -04:00
147b3155c8 Added contact page. Fixed various form bugs. 2013-05-03 17:09:02 -04:00
9100217229 Finished ActiveForm. 2013-05-03 14:35:53 -04:00