Array
(
    [Event] => Array
        (
            [0] => Array
                (
                    [title] => First Event
                    [description] => This is the first event.
                    [weight] => 1
                )

        )

    [Schedule] => Array
        (
            [title] => First Schedule
            [description] => This is the first schedule.
            [id] => 1
        )

)



The problem appears to be that I'm not even getting an array item for
the newly-added event (added via jQuery to the DOM/HTML before saving
in CakePHP.)  Has anyone tried dynamically adding something to a form
in the HTML before saving?  When I add a new event... I'm purposely
not putting a new id in the UL's LI for that new "event" item.  The id
should be added automatically in my database and it would most likely
be a different number.

Thanks,
Andy



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