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 ye
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 lik
On 24/09/2007, Brian Cassidy <[EMAIL PROTECTED]> wrote:
> Hey Gang,
>
> I was just playing around with the Radiogroup element, and i noticed the
> default rendering sets the same id for each option. Naturally this is
> invalid html. Traditionally i've done value="$value" id="${field}_${value}" />
On Monday 24 September 2007 15:54:50 Brian Cassidy wrote:
> Hey Gang,
>
> I was just playing around with the Radiogroup element, and i noticed the
> default rendering sets the same id for each option. Naturally this is
> invalid html. Traditionally i've done value="$value" id="${field}_${value}" /
Hey Gang,
I was just playing around with the Radiogroup element, and i noticed the
default rendering sets the same id for each option. Naturally this is
invalid html. Traditionally i've done value="$value" id="${field}_${value}" /> for="${field}_${value}">... because the value is usually a
num