Tuesday, October 5, 2010

Re: setting the value of a checkbox

thanks Iqbal!

On Tue, Oct 5, 2010 at 11:40 AM, Iqbal Santyaswardan <isantyas@gmail.com> wrote:
If the field is changeable by user, you might have an ObserveField set
to that field.  See Ajax Helper.

Regards

On Tue, Oct 5, 2010 at 5:15 PM, james <jameslivsey@googlemail.com> wrote:
> Hi i was wondering how i might set the default value of a checkbox to
> the value of the field before it? So if the value of the field before
> it is 1 then the checkbox would be checked by default?
>
> thanks
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> 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, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
 
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, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: