[EXTENSION] multimodelform/jqrelcopy
Solutions for clientside cloning

very awesome extension, worked really well after reading the forum posts, keep posting guys very helpful, and to the author of the extension a very big thanks . Quick question, How can one access the IDs for the cloned form elements?

Hi,
i need dropdownlist for a boolean field (as checkbox doesn't work) in multimodelform, the field is correctly saved but when i open my form it always show the first value even if it's the second in database.

yep, thanks, great extension.
I've been using it and it surely does the job. But in my new app, I have a related model with a composite Primary Key. Current MMF version wasn't working for me, so I've downloaded and tried the "Elix patch", that uses an older version of jquery-relcopy though (3.3 vs. 4.0).
With the patch, my compositePK-model is shown but: adding a new clone doesn't work, remove does but the element you just removed gets added again if you then add, if you save after removing an element CDbCommandBuilder raises an Exception for an undefined offset while checking columns' raw names.

So, my questions are:
- do you have an alternative/better solution for composite PK models, apart from redesigning tables to use a simple PK?
- (hopeless) do you have any experience with the above patch? Elix, are you reading this? Could you provide any additional experience regarding your patch?

Very nice extension.
Could you add support for Foundation 3 styles (like you did for Bootstrap)?
Could you also add option for change rendering class (default is MultiModelRenderForm) to configuration file? Now if i want to extend it i need to extend also MultiModelForm class and override some methods like renderTableBegin (or change extension code - bad idea...).

luk1999: sorry, have no time to look at foundation3.
But if you take a look at the bootstrap mmf-code, should be possible to support foundation too.
You can make a pull request on github, if you have added foundation support.

zetsubo: sorry, have no time to experiment with nested multimodelforms. please try yourself.

I try mmf.demo.4.5.zip ,when I added two members in the same group I got this error " Array to string conversion ".What am I missing? Any help please.OK I found the problem now.The problem is the wampserver.But now I want to know how to use bootstrap in form builder.Any idea?

nakarin had the 'Array to string conversion' on WAMPP too. What was the problem? How did he solve it?

In which php-file / line does the error happen?

I think the problem is WAMPP wampserver2.2e-php5.4.3-httpd2.2.22-mysql5.5.24-32bit/Windows 7 ,so I changed to xampp-win32-1.7.4-VC6-installer/Windows 7 and the problem 's gone.Thanks for your great extension,Cheers.