Hello, yes, i know but when i have 10 selectboxes i must put the calidation all in this one validator?
> Hello, > > > Stefan Meyer-2 wrote: > >> but this solution only for one validator? >> >> > For every widget in your form which has no atomic values. Your select box > has not an atomic value. It has a selection of list items and thats why you > have to do it that way. > > > Stefan Meyer-2 wrote: > >> 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? >> >> > No there isn't a way to add more than one validator to the manager itself. > You have to handle all the validation in that one method. > > > Stefan Meyer-2 wrote: > >> ANother question is, why i cant access inside thsi calidator the this >> vars? i must first make them SHOPID = this.SHOPID to access them# >> >> > Because the context of the validator is not your current (this) object. > Maybe you should consider reading a JavaScript book to understand how > contexts of functions are handled? > > Best, > Martin > > ------------------------------------------------------------------------------ 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
