Re: Showing selected values in a HABTM

2012-06-27 Thread Deco F Martins
Arak, Would you mind posting your solution, I´m stuck in the same problem as you Thks! On Monday, March 1, 2010 12:42:02 AM UTC-3, Arak Tai'Roth wrote: Nevermind, I got it figured out, thank you for your help. On Feb 28, 9:24 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I'm not

Showing selected values in a HABTM

2010-02-28 Thread Arak Tai'Roth
Hey everyone, I did try looking around here and on google for this issue, however I can only find data that relates to problems 3 years ago, which doesn't help as much as I'd like it to. I could likely use it, but I figured that by now, Cake must have a more elegant way of doing this. I want to

Re: Showing selected values in a HABTM

2010-02-28 Thread John Andersen
This is what I do, a small view example: [code] ?php echo $form-create('Permit',array('action' = 'add')); ? ?php echo $form-input('Activity',array('multiple' = 'checkbox', 'label' = 'Activity')); ? ?php echo $form-end('Save'); ? [/code] and to ensure that the Activity field is filled with the

Re: Showing selected values in a HABTM

2010-02-28 Thread Arak Tai'Roth
I'm not sure I am following. I see where you are setting the data that you have, but I am not seeing where you are using that data in the view at all? Or do you not need to use it anywhere, cake just does? On Feb 28, 4:11 am, John Andersen j.andersen...@gmail.com wrote: This is what I do, a

Re: Showing selected values in a HABTM

2010-02-28 Thread Arak Tai'Roth
Nevermind, I got it figured out, thank you for your help. On Feb 28, 9:24 pm, Arak Tai'Roth nielsen.dus...@gmail.com wrote: I'm not sure I am following. I see where you are setting the data that you have, but I am not seeing where you are using that data in the view at all? Or do you not need