How so? Assuming I looped through each vehicle like..
<? foreach($fleetVehicle as $vehicle) { ?>
<?= $form->select('rider_1', $listEmployees); ?>
<? } ?>
Wouldnt 'rider_1' always be overridden by the last 'rider_1' input on the
page?
What naming convention could I use to make this work - I would truly
appreciate even the smallest snippet.
Thanks
thatsgreat2345 wrote:
>
>
> What is wrong with that, right naming conventions on the form inputs
> will easily return a properly formatted array to save.
>
> On Nov 22, 12:24 pm, WildFoxMedia <[EMAIL PROTECTED]> wrote:
>> I am working on a website for a fleet company. The vehicles will all show
>> up
>> up a 31 day calendar with there respective personnel and tasks.
>>
>> My issue right now is that they would like forms for all of there
>> vehicles
>> to show up on the form for each day. For instance, every day will have an
>> edit page where you will be able to see all of the vehicles, each with
>> there
>> own respective forms for personnel assigned and tasks.
>>
>> What is the best way to go about this as it doesnt seem that I can really
>> follow the standard Cake guidelines given that they essentially want to
>> mash
>> 4-5 seperate forms into one page that will all POST at the same time.
>>
>> Thank you
>> --
>> View this message in
>> context:http://www.nabble.com/Create-Update-multiple-records-from-one-form-tp...
>> Sent from the CakePHP mailing list archive at Nabble.com.
> >
>
>
--
View this message in context:
http://www.nabble.com/Create-Update-multiple-records-from-one-form-tp20640161p20649535.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---