- From: Maniac <Maniac@SoftwareManiacs.Org>
- Date: Fri, 10 Dec 2004 12:41:17 +0300
Olav Junker Kj?r wrote: > Okay, but then the output element should also support the validation > interface. I think it is confusing that elements which dont support > validation exposes e.g. the setCustomValidity() method. I would prefer > a flag isValidateable or something like that, which could be checked > before accessing the validation interface. May be then just specify new collection like 'form.validatedElements'? It may be walked through without additional checking and allows not to introduce confusing methods to other elements. And for the DOM, I beleive, some pre-defined TreeWalker may do the job...
Received on Friday, 10 December 2004 01:41:17 UTC