Commit Graph

72 Commits

Author SHA1 Message Date
AnatolyRugalev
59fdac54ff Added support of :submit[formtarget] 2016-04-25 23:57:56 +03:00
SilverFire - Dmitry Naumenko
5686a9ddeb Revert "* Added support of :submit[formtarget]"
This reverts commit d3fb217dfa.
2016-04-22 13:46:46 +03:00
Anatoly Rugalev
d3fb217dfa * Added support of :submit[formtarget]
* Added support of :submit[formtarget]
2016-04-21 23:58:36 +03:00
SilverFire - Dmitry Naumenko
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
Andrew Nester
9eaa82e15d 10555 - Fix for ActiveForm - When previous action doesn't reload page, this action will be triggered again when another submit button clicked 2016-01-20 13:08:26 +03:00
githubjeka
88241f24f3 yii.activeForm.js: input onBlur event forces field validation 2015-12-02 23:38:00 +02:00
Sam
5332e900e3 Fixes #7341, #9551, #9928: Client validation now skips disabled inputs 2015-10-15 12:46:26 +03:00
Nikola Kovacs
4c0bcaf12e Fixes #8822, fixes #9298. Clientside validator docs enhancements. 2015-09-05 02:15:08 +03:00
Nikola Kovacs
11de09bf8b Fixes #5991, #5420, #3017: Added updateMessages() to yii.activeForm.js to support manually updating ActiveForm messages 2015-08-02 19:39:12 +03:00
Alexander Makarov
66557285a6 #7259: fixed using errrorInputs 2015-08-02 14:32:49 +03:00
Alexander Makarov
9587d9b29c #7259: Added back errorAttributes 2015-08-02 13:40:22 +03:00
Alexander Makarov
e2f5279b54 Better fix for #7259 2015-08-02 13:30:53 +03:00
Nikola Kovacs
2577a5915b Fixes #7259: Added errorAttributes parameter to ActiveForm afterValidate event. Made scrolling to first error optional 2015-08-02 12:58:35 +03:00
vbelogai
1d6a340534 Fixes #8161: Fixed active form data-method submit bug when client validation is used 2015-07-27 18:53:40 +03:00
Alexander Makarov
7a32272fe1 Merge pull request #8721 from ShNURoK42/patch-1
Update yii.activeForm.js [skip ci]
2015-06-11 11:41:05 +02:00
nkovacs
a99ae5b1ed Fixes #8661: Fixed yii.activeForm.js scrolling to top 2015-06-11 11:37:19 +02:00
Alexandr
75dd60ae4a Update yii.activeForm.js 2015-06-09 19:10:53 +07:00
Alexander Makarov
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
Qiang Xue
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
Sidney Lins (slinstj, former sidtj)
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
Qiang Xue
e56bf03130 Fixed test break. 2015-02-22 19:33:23 -05:00
Qiang Xue
57c298a523 Fixes #7361: The trim validator now works on the client side too 2015-02-22 19:25:06 -05:00
Qiang Xue
770d65a052 Fixes #6361 2015-02-02 12:27:27 -05:00
Qiang Xue
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
Alex-Code
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
Qiang Xue
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
Qiang Xue
2a0797dd23 Fixes #6266: Clicking on reset button does not hide error summary when using ActiveForm 2014-11-26 11:06:26 -05:00
Qiang Xue
232bcd1dd5 Fixes #5171: Fixed the bug that ActiveForm + Pjax submit event is only triggered once. 2014-10-10 00:57:09 -04:00
Qiang Xue
82037bc70e Fixes #5124: Added support to prevent duplicated form submission when using ActiveForm 2014-09-22 12:19:11 -04:00
Qiang Xue
deb6ba3cf9 Fixes #5105 [skip ci] 2014-09-18 16:47:43 -04:00
Qiang Xue
108b451805 Fixes #5049. 2014-09-18 15:41:11 -04:00
Qiang Xue
a187d47aec Fixes #5049: ActiveForm::validationDelay should be applied to user types only 2014-09-16 14:40:00 -04:00
Qiang Xue
0fc46760b0 Fixes #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true 2014-09-15 23:24:12 -04:00
Qiang Xue
11132cee1a Fixes #5006. 2014-09-15 23:03:10 -04:00
Qiang Xue
de63a46d82 Fixes #4984. 2014-09-10 21:57:02 -04:00
Qiang Xue
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
Qiang Xue
ae13b0593f Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically 2014-09-05 23:10:23 -04:00
Qiang Xue
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00
Alex-Code
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
Alex-Code
594b57836d Added validation js callbacks
- `beforeValidateAll`
- `afterValidateAll`

fixes #4234, close #4559
2014-08-04 18:06:10 +02:00
Alex-Code
3a10c4cfa4 Update yii.activeForm.js
Refactored
2014-07-30 14:24:47 +01:00
Alex-Code
66e0e8aafb Update yii.activeForm.js 2014-07-28 17:14:44 +01:00
Alex-Code
334b313020 Update yii.activeForm.js
remove empty message arrays
2014-07-28 16:23:29 +01:00
Alex-Code
5186343734 deferred validation
Added support of deferred to ```ActiveForm``` validation.
2014-07-28 09:52:21 +01:00
Thiago Talma
88191bbe5c New callback functions for form validation using Ajax.
close #4436
2014-07-25 09:24:04 +02:00
Qiang Xue
051b4194e9 Fixes #3216. 2014-04-22 14:54:02 -04:00
Qiang Xue
d859fca569 Fixes #3216: Fixed the bug that yii.activeForm.destroy() did not remove submit event handlers 2014-04-22 12:46:37 -04:00
Qiang Xue
bbc7b0768f separate id and name of attribute for client side validation 2014-03-22 21:21:11 -04:00
Qiang Xue
7960ccdf50 Tab to spaces conversion. 2014-03-16 20:05:54 -04:00
Qiang Xue
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00