Izaak Branderhorst schrieb:
The below is exactly the same as QxTextField.isValid () except it passes
the 'computedValue' rather than the 'value' to the validator. I found
this method useful for validating a form on every input event, allowing
an action like the submit button being enabled only when the form is valid.
//
proto.isComputedValid = function()
{
var vValidator = this.getValidator();
return !vValidator || vValidator(this.getComputedValue());
};
//
Ok, Thanks Izaak. I have just committed it to CVS.
Sebastian
Izaak
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel