Sabatier,

FYI, this is the developer list, not the user list. This question is
better suited for the user list, since it deals neither with the
implementation of Velocity nor with any potential bug or anything like that.

sabatier wrote:
> <vas:RespondWith>$xyz</vas:RespondWith>
> <vas:RespondWith>$xyz</vas:RespondWith>
> <vas:RespondWith>$xyz</vas:RespondWith>
> <vas:RespondWith>$xyz</vas:RespondWith>
> <vas:RespondWith>$xyz</vas:RespondWith>
> <vas:RespondWith>$xyz</vas:RespondWith>

> So say I have a 5 checkboxes on my form and the user checks 3 of them, how
> to I pass the values to this template so that the vas:RespondWith> tag is
> only generated 3 times?

So all of the checkboxes have the same name? I'm guessing not. I think
you just need to do it manually:


#if($myFirstCheckbox)
   <vas:RespondWith>$xyz</vas:RespondWith>
#end
#if($mySecondCheckbox)
   <vas:RespondWith>$xyz</vas:RespondWith>
#end
...

-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to