-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


You need to do this with javascript. May be jquery with grid plugin?
Create an array with the fileds you need and then send the array to the
controller.


Alejandro Gómez Fernández



El 15/02/2011 14:56, Yaron escribió:
> Hi,
> Suppose I have a book-borrowing application with a Customers table, a
> Books table and Borrowings table (customer_id, book_id and date
> fields).
> The borrowing view has three fields: customer, date and book (this
> field is a drop-down-box). Usually, a customer borrows more than a
> single book at once. The librarian does want to add one book at a
> time, but enter as many books as needed on the same view: when he
> picks a book, a new book field appears. Another book pick adds another
> book field, etc. When the librarian hits "Save" every book gets a
> record, when the "customer" and "date" fields serve all book records.
> Help needed please, since I have no idea how to do that. Thanks!
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNWwz3AAoJEHQn9CmeN9DJDSkIAMuQGLdPJLplkzXKH4HFWTVW
HhvVQTx++/E+YLPXq6sI2B2dqiy8C89N1+Pg/+nnkjEpcsz1lc84uoj5IsYIZu37
Pltl61jfXLf7QPbzPb+b8IsKDu6w/1ITePUltAFDqrRHKPM1peMBQAqtn1/xp0FW
o4zZITJ/FgKzdAFXjEMWNvrzFVSYLABzm69dJzuaLy+V7D2u9Mde2ObkN6fu9X13
OPp6OhLBJOjCRg8Rm5Kf6ugpNhzQBwKmnL+3IJQEybxjtAayhpMMXAcZKqOfdB7M
Ad3aofkM55VCpyVe6+B67XnSo73EewQyyIsweZ3KpZ6Znh/53fgeY9siiHfqA40=
=QX0M
-----END PGP SIGNATURE-----

-- 
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

Reply via email to