diff options
author | wei <> | 2006-01-09 04:39:05 +0000 |
---|---|---|
committer | wei <> | 2006-01-09 04:39:05 +0000 |
commit | 9f2ecd591d5be41bb9dc7b8a0fa144ac35a173bb (patch) | |
tree | 122d77d166d5df687d524173b883d87fd6674c0d /framework/Web/Javascripts/base/postback.js | |
parent | 9c9a2d731fea9679f65904a3a6b72dd78b4253a4 (diff) |
TRequiredFieldValidator works now. See FunctionalTests/index.php in your browser.
Diffstat (limited to 'framework/Web/Javascripts/base/postback.js')
-rw-r--r-- | framework/Web/Javascripts/base/postback.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/base/postback.js b/framework/Web/Javascripts/base/postback.js index b7e095a4..186495cc 100644 --- a/framework/Web/Javascripts/base/postback.js +++ b/framework/Web/Javascripts/base/postback.js @@ -13,7 +13,12 @@ Prado.doPostBack = function(formID, eventTarget, eventParameter, performValidati if (performValidation)
{
//canSubmit = Prado.Validation.validate(validationGroup);
- canSubmit = Prado.Validation.OnSubmit(theForm);
+ /* Prado.Validation.ActiveTarget = theForm;
+ Prado.Validation.CurrentTargetGroup = null;
+ Prado.Validation.IsGroupValidation = false;
+ canSubmit = Prado.Validation.IsValid(theForm);
+ Logger.debug(canSubmit);*/
+ canSubmit = Prado.Validation.IsValid(theForm);
}
if (canSubmit)
{
|