Hai there,
In the website I am building, there is a form with seven checkboxes.
One of those checkboxes is "all".
If someone checks the "all" checkbox, I want cake to check all the
checkboxes automatically.
How can I do this?
My code looks like this (I work with the Smarty template engine, so
every '{' is equal to '<?php', and every '}' is equal to '?>'):
{$html->checkbox('Zoek/Artikel', '', '')} Artikelen
{$html->checkbox('Zoek/Column', '', '')} Columns
{$html->checkbox('Zoek/Nieuws', '', '')} Nieuws
{$html->checkbox('Zoek/QuestionAndAnswer', '', '')} Question &
Answer
{$html->checkbox('Zoek/Dir', '', '')} Bedrijven
{$html->checkbox('Zoek/CommunityMembers', '', '')} Community Members
{$html->checkbox('Zoek/Poll', '', '')} Polls
{$html->checkbox('Zoek/All', '', '')} All
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---