[Html-widget] latest formfu developments

Carl Franks fireartist at gmail.com
Mon Feb 26 10:55:15 GMT 2007


On 25/02/07, Mario Minati <mario at minati.de> wrote:
> Mario Minati schrieb:

> That is ok for me now.
> >       - value for submit/reset buttons gets changed to '' when calling
> > result
> >  I think that only happens any longer on a reset button.
> I got that one fixed, I think there was a bug in my form creating code.
> I am useing now:
>     $multi_last->element('Submit')->value('Submit');
>     $multi_last->element('Reset')->value('Reset');

I've fixed this in svn - you shouldn't have to set a value, as the
browser should pick an appropriate label for the type of button.

After an initial submission, buttons were incorrectly being given value=""
Now, if there was no default, the value is not set at all (rather than
being set to the empty string).

Carl



More information about the Html-widget mailing list