[html-formfu] multiple ids of the same value in radiogroup

Mario Minati mario.minati at googlemail.com
Tue Sep 25 22:30:15 GMT 2007


On Monday 24 September 2007 20:56:53 Brian Cassidy wrote:
> Carl Franks wrote:
> > Are you using auto_id() ?
> > If you are, this should already be handled for you, by adding an
> > incremented integer to the end of the ID.
> > See lib/HTML/FormFu/Element/RadioGroup.pm - sub _prepare_id()
>
> Ah yes,
>
> $self->auto_id( '%n_%c' );
>
> -- should that be the default for things like radiogroup though?

I include this in the FAQ of HTML::FormFu, but we will have an eye on this to.

Greets,
Mario



More information about the HTML-FormFu mailing list