On Fri, Mar 28, 2008 at 12:31 AM, miuuzn <[EMAIL PROTECTED]> wrote:
>
>  i wanna know if its possible with ajax + cakephp to make like subforms
>  that can be created on the fly
>  at page load it should have only one address form by default
>  then if the user clicks on a button(link or whatever) it should popup
>  another subform under it
>  and then its possible to pass this variable number of records to the
>  controller?
>

1) Yes, you can use Ajax to add a "subform" to your existing form.  I
do it all the time
2) Whatever you put in the form will get posted to your action in your
controller when you submit the form

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to