[Html-widget] latest formfu developments

Mario Minati mario at minati.de
Mon Feb 26 14:06:00 GMT 2007


Carl Franks schrieb:
> 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).
>
Now it's working both ways. Perfect :-)

Mario



More information about the Html-widget mailing list