[Radiant] Mailer_Behaviour + Checkboxes

Michael Roper michael.roper at gmail.com
Tue Dec 12 09:21:40 CST 2006


not to worry, i figured it out myself... set a value on the element, dummy!

cheers,

michael

On 12/12/06, Michael Roper <michael.roper at gmail.com> wrote:
> Hi guys,
>
> Regarding the mailer_behaviour, does anyone know how to deal with
> checkboxes properly?
>
> I can insert them fine:
>
> <r:mailer:checkbox name="checkered" />
>
> ...but when i try to access the value of them in my email_html part:
>
> <r:mailer:get name="checkered" />
>
> ...it returns nothing...
>
> if i dont create the email_html part, and just leave the email content
> up to the behaviour, it will only show up if it has been checked, and
> will look like this:
>
> checkered: ""
>
> does anyone know if it is meant to behave any differently? and if so,
> can you point me to some way of modifying the behaviour to return
> 'true' if checked, or something like that?
>
> Cheers,
>
> Michael
>



More information about the Radiant mailing list