<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On 07 Feb 2007, at 8:56 PM, Darrel O'Pry wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">This can be overcome with a few simple #validate functions on form</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">elements correct?<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> </BLOCKQUOTE><BR></DIV><DIV>There are definitely 2 steps involved here.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>widgets do processing on the input, to change it into the right data type. (this is how i felt checkboxes/ select lists should have been handled, not by being hardcoded in form_builder)</DIV><DIV>fields validate the data that they have been given, whether by code or by the widgets.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I don't believe we should include the #validate functions for the field types / widgets into the form structure thought,</DIV><DIV>because if we do it right,. every single field will have validation rules, </DIV><DIV>and all that information will not often be modified (fields can still have additional validation rules of course).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We don't want to bloat the data structure unnecessarily. </DIV></BODY></HTML>