Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all articles
Browse latest Browse all 9642

Does anyone know if there is possible to copy form elements from a form to another?

$
0
0

What I have tried is something like this:

writeableForm.ElementsArea = fromForm.ElementsArea.Copy();


Where I have found both forms created. And when I look at the new form all the elements are there, the problem is not a new copy, it is the same element in both forms. So if I make a change in one of the forms, it changes in both. Is there anyway to f.ex loop through all the items of the ElementsArea and create a new one based on the Element?


Viewing all articles
Browse latest Browse all 9642

Trending Articles