Hi Paul, it is simply stroring many rows into one table at once. Using a table "time_reports" containg all the fields I need.
On 24 Sep., 09:02, WebbedIT <[email protected]> wrote: > Work out which models are involved and look at the relevant part on > the following page:http://book.cakephp.org/view/1031/Saving-Your-Data > > I.e. are you saving many rows within one table > or many instances of one row with multiple related rows > or HABTM data? > > All of the information is there and if you construct your form > correctly it will save with saveAll();, but you may need to loop > thorugh your data array if saving many instances of one row with many > related rows. > > HTH, Paul > > On Sep 23, 9:52 am, mivogtGermanyLU <[email protected]> wrote: > > > > > > > > > Hi there, > > > I would like to add some kind of time-table time-report function to my > > app. (CakePHP 1.3.8.) > > > Current I use a form to be filled for each day and each time (start- > > end) seperatly. > > > As the main-content of the form will stay the same for all enties but > > the date, the time and a comment-field I am looking for a way to have > > it with more comfort. > > > This for I would like to have a form conatining a head for the > > informations equal to all datasets and below then add several fields > > (31 rows with each 3 colums) to be filled (first and 2nd as a dropdown > > time-field, 3rd as a textfield). > > > Generating the form manually with some cake-php-html is no problem at > > all. > > > I am not clear if and how I can procvess the formdata after pressing > > the send/save button after filling it. > > > Sure it has to be done controller-sided; but I do not know if there is > > a way to do a walkthrough over an array of textfields (esp. I do not > > know if there is a naming-convention to do so) > > > Is there any cake side possibility to create a form containing > > informal-form-header (name, place, numbercode)+ > > and below something like > > > DAY01: [START(01)] [END(01)] [TEXTfield(01)] > > DAY02: [START(02)] [END(01)] [TEXTfield(02)] > > .. > > DAY31: [START(31)] [END(31)] [TEXTfield(31)] > > > Thanks in advance for any kind of hint and help -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
