OK, here's the complete view. I would suspect I've stumbled across a
CakePHP bug to do with having multiple multi tickboxes in the same
form, but I'm hesitant to draw such hasty conclusions - in the past
it's always been a bug of my own.

<?php

echo $form->create();

if (isset($this->data[$modelName]['id'])) {
        echo $form->input('id');
}

echo $form->input('name', array(
        'label' => $modelName,
        'error' => array(
                'required' => "Please enter the English name you would like to 
give
this {$modelNameLower}.",
                'unique' => 'Sorry, that name is already taken. Please choose
another one.'
        )
));

echo $form->input('Category.Category', array(
        'label' => 'Categories',
        'multiple' => 'checkbox',
        'error' => array(
                'required' => 'Please choose at least one category.'
        )
));

echo $form->input('Colour.Colour', array(
        'label' => 'Colours',
        'multiple' => 'checkbox',
        'error' => array(
                'required' => 'Please choose at least one colour.'
        )
));

echo $form->input('Size.Size', array(
        'label' => 'Sizes',
        'multiple' => 'checkbox',
        'error' => array(
                'required' => 'Please choose at least one size.'
        )
));

echo "<button type=\"submit\"><img src=\"/img/silk/
{$submitButtonImg}.png\" alt=\"{$submitButtonName}\">
{$submitButtonName}</button>";

echo $form->end();

?>

Thanks so much,
Zoe.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to