On Tue, 17 Feb 2009 15:30:36 -0800, Greg Coates <g...@coatesoft.com> wrote:
> I think I might have found a bug.  I have HTML::FormFu version 0.03007
> installed.  Here's what's happening.
> 
> I created a form that ends with the following 3 submit buttons:
> ---
>    - type: Submit
>      name: submit
>      value: Save for Later
>    - type: Submit
>      name: submit
>      value: Finish
>    - type: Submit
>      name: submit
>      value: Cancel
> 
> These display as expected.  However, if the form is submitted, contains
> errors, and then is re-displayed, the buttons all contain the same text.
>   Here's the HTML that is generated:
> 
> <input name="submit" type="submit" value="Save for Later" />
> <input name="submit" type="submit" value="Save for Later" />
> <input name="submit" type="submit" value="Save for Later" />
> 
> All the values get set to the same value for some reason.
> 
> Greg Coates
> 

I think this is not a bug. How should FormFu distinguish between
those fields if they have the same name?

Moritz

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to