Hello,
but this solution only for one validator?
i try this
var SHOPID = this.SHOPID;
this.formManager.setValidator(function(formItems) {
var invalidEntry = "Bitte wählen";
var valid = SHOPID.getSelection()[0].getLabel() !=
invalidEntry;
if (!valid) {
var message = "Bitte auswählen";
SHOPID.setInvalidMessage(message);
SHOPID.setValid(false);
}
return valid;
});
AND when i add another their is only one Validator aded. Isnt theri
any option to make a validator for each selectbox, not supported widget
or must i add all in one validator?
ANother question is, why i cant access inside thsi calidator the this
vars? i must first make them SHOPID = this.SHOPID to access them#
> http://demo.qooxdoo.org/current/demobrowser/#data~Form.html
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel