- From: Olav Junker Kjær <olav@olav.dk>
- Date: Fri, 10 Dec 2004 11:01:38 +0100
Maniac wrote: > 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. Thats a great idea. The collection could be defined almost as the successful attribute is defined now, except that is should be independent of the current value and validity of the control (i.e. checkboxes and radiobuttons in a form is part of the collection except if they have no name, are disabled or is part of a repetition template or datalist *but* irrespective of whether they are checked or not, and whether they are required or not). Maybe it would also be useful to have access to the button that initiated the form submission. This should probably be through a property on the submit event object, since this is only meaningful during the submission event. The button should not be part of the collection though, since it can't be validated. Olav Junker Kj?r
Received on Friday, 10 December 2004 02:01:38 UTC