--- In [email protected], "Durres76" <[EMAIL PROTECTED]> wrote:
>
> hey,
> i'm generating radio button groups using a repeater, but am getting
> errors when trying to set the id of RadioButtonGroup using the
> repeater index. The code is below. How else can you generate multiple
> groups dynamically
> 
> <Repeater id="rpt">
>   <RadioButtonGroup id="{rpt.currentIndex}">
>     some Radio buttons.
>   </RadioButtonGroup>
> </Repeater>
> 
> Thanks,
> d
>

Just use something like 

<RadioButtonGroup id="group">

Then group[0] will refer to the first one, group[1] will refer to the 
second one, etc.  This is pretty thoroughly documented in the docs for 
repeater.

HTH;

Amy

Reply via email to