I have only one advice for You. Use embedForm instead of embedFormForEach.
Few days back I also tried to create dynamic form and I got nowhere when using embedFormForEach. Practically You should be able to use embedForm many times in a loop and You should get the same effect. In my case when I was using embedFormForEach and there was more than one embedded form - only the last one was saved to database. When I used embedForm in a loop then all records was saved to database properly. good luck -- Best regards Łukasz Wojciechowski New Generation Software +48 602 214 629 http://www.ngsoft.pl 2009/7/30 mirfan <m.irfa...@gmail.com>: > > please somebody help me i am really stucked here > > On Jul 29, 6:48 pm, mirfan <m.irfa...@gmail.com> wrote: >> hi everybody, >> i am using embedFormForEach and also embedForm: >> 1. embedForm save data without any problems but embedFormForeach is >> not saving the data in database. >> 2. i need unlimited time to embed form thats why i am using >> embedFormForEach but i need some help here: >> a. first is that some depends on database tables it will read >> modifiers how many they that much forms will be embedded. >> example >> i have eye_symptoms table which have the following fields >> id >> symptom_title >> status >> the modifier table fields are >> id >> symptom_id >> onset >> value >> now if i add 5 values in modifier table i will need five >> forms t embed. >> b. second problem with embedForEach is that i want to use >> javascript as i click on add the form should be generated, and it has >> no limit may i need just once or may be 15 time. >> >> please help i am fresh to symfony and my task is very complex, any >> help will really glade me >> >> Regards, > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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 -~----------~----~----~----~------~----~------~--~---