[Html-widget] Select fields and '0' value - again

Carl Franks fireartist at gmail.com
Wed Sep 20 16:07:12 CEST 2006

> On 15/09/06, Tobias Kremer <t at funkreich.de> wrote:
> > Yes, I do get an error if a field is submitted empty (and required). But
> > when the form is redisplayed for the user to correct the errors the
> > empty fields are re-filled with the original data. This behaviour is quite
> > weird IMHO:

I've updated svn, so this should no longer happen.
The default value is only used if $result->submitted is false.

$result->submitted() is now also documented!


More information about the Html-widget mailing list