Re: process multiple selected rows

2006-09-30 Thread andy corpes
Hi Sohei   The light came on as soon as i read your post, thanks very much.   Andy  On 29/09/06, Sohei Okamoto <[EMAIL PROTECTED]> wrote: If each row corresponds to the data from model which has id field, maybe I would make each checkbox with the row's id as its value, then you will receive the arr

Re: process multiple selected rows

2006-09-29 Thread Sohei Okamoto
If each row corresponds to the data from model which has id field, maybe I would make each checkbox with the row's id as its value,then you will receive the array with selected rows' id.Am I missing anything? Hope this helps.Sohei --~--~-~--~~~---~--~~ You received

Re: process multiple selected rows

2006-09-29 Thread [EMAIL PROTECTED]
I have always had to do 'field/' so that I get a bunch of data[field][] and then do a foreach on them, counting along the way and getting the rest with $i. I don't know if there is a better CakePHP way to do it, but I would sure like to know as well. --~--~-~--~~~---

process multiple selected rows

2006-09-29 Thread andy corpes
Hi all,I'm a newbie trying to determine which rows in a table display have been selected. I have created a html table, column 1 is select box, the rest have data.I would like to select one or more rows, then select a command from a drop down list box,  and then process each selected row according t