On Thu, 18 Feb 2010, Samuel Morhaim wrote: > I had to define it, because initially it was giving me some headaches > with just creating the model, so by adding it i got rid of the > problem.. > > Then i created the auto generated CRUD which worked fine for edit, and > then i started adding ajax effects and this started happening...
When you autogenerated the CRUD forms, did it create the form as a partial? If so, is this partial used for both updates and create? Thinking about edit and update: your forms should have the id field present and with a value when editing an existing object. But it probably should NOT be present when creating a new object (since its autogenerated by the database). -- -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.