On 24/03/2008, vti <[EMAIL PROTECTED]> wrote: > vti([EMAIL PROTECTED])@Mon, Mar 24, 2008 at 07:19:30PM +0200: > > > After updating to the current html-formfu Date element stopped working on > > default_values(), though it works on update(). > > > Seems like: > > $form->get_element( 'starttime' )->value( > strftime "%Y-%m-%d %H:%M", localtime > ); > > doesn't work either.. :-(
Use default() not value(). Although value() is an alias for default() for most fields - it's not the case for all of them - so you're less likely to get confused if you just use default(). Carl _______________________________________________ HTML-FormFu mailing list [email protected] http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
