But I am wanting to use jQuery/Javascript to dynamically add a new
form item before saving... I'll keep poking around with it but I am
still curious as to if there is a limitation on form-creation with
CakePHP...



On Feb 15, 12:40 pm, andy <[email protected]> wrote:
> It appears to work when I manually put in a new input form field into
> the view... instead of having it being added via jQuery:
>
> [data] => Array
>         (
>             [Event] => Array
>                 (
>                     [0] => Array
>                         (
>                             [title] => First Event
>                             [description] => This is the first event.
>                             [weight] => 1
>                             [id] => 1
>                         )
>
>                     [1] => Array
>                         (
>                             [title] => second
>                             [description] => second event
>                             [weight] =>
>                         )
>
>                 )
>
>             [Schedule] => Array
>                 (
>                     [title] => First Schedule
>                     [description] => This is the first schedule.
>                     [id] => 1
>                 )
>
>         )
>
> Is there some type of limitation on when something can be added to a
> form in CakePHP before the form is saved/sent?
>
> On Feb 14, 1:00 am, WebbedIT <[email protected]> wrote:
>
>
>
> > Paste a copy of the data array that is getting to your controller
> > after a form submit and someone will advise if it's structured
> > correctly
>
> > HTH
>
> > Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to