diff options
author | wei <> | 2006-05-02 08:28:17 +0000 |
---|---|---|
committer | wei <> | 2006-05-02 08:28:17 +0000 |
commit | d255f4d0e332740b3984e21ce3f7a4a4f1968ba3 (patch) | |
tree | 84bf54643e3a188330f6b7b5043efeed1aa44b6e /framework/Web/Javascripts/prado/validation3.js | |
parent | c5983c0440913cd67f3744c7dda3c3bfc7eee0ed (diff) |
Adding more work on ActiveControls.
Diffstat (limited to 'framework/Web/Javascripts/prado/validation3.js')
-rw-r--r-- | framework/Web/Javascripts/prado/validation3.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/prado/validation3.js b/framework/Web/Javascripts/prado/validation3.js index 1f154fec..8becac70 100644 --- a/framework/Web/Javascripts/prado/validation3.js +++ b/framework/Web/Javascripts/prado/validation3.js @@ -90,6 +90,15 @@ Object.extend(Prado.Validation, },
/**
+ * @return string first form ID.
+ */
+ getForm : function()
+ {
+ var keys = $H(this.managers).keys();
+ return keys[0];
+ },
+
+ /**
* Check if the validators are valid for a particular form (and group).
* The validators states will not be changed.
* The <tt>validate</tt> function should be called first.
|