[Radiant] Mailer_Behaviour + Checkboxes
Kevin Ansfield
kev at digitalblueprint.co.uk
Tue Dec 12 09:22:43 CST 2006
Hi Michael,
Try something like <r:mailer:checkbox name="checkered" value="true" />
I haven't had a chance to try this out yet, but judging from the source code
it should work fine.
Best Regards,
Kevin Ansfield
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
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
--
Kevin Ansfield
Technical Director
BN23 Search Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061212/8a3fe5e3/attachment.html
More information about the Radiant
mailing list