Re: checkbox value becomes default (1) after submit

2008-09-19 Thread rob30
I have exactly the same problem and cant find solution :( --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group,

checkbox value becomes default (1) after submit

2008-09-17 Thread Klesus
Hi, I have a checkbox with a particular value in a form, here is the code : checkbox('Task.repeated_task', array('value' => 'yes', 'checked' => 'unchecked')); ?> The first loading of the form is correct, the generated html is : but after one submit, the value change to 1 and the ge