21282 Posts in 5730 Topics by 2601 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 690 Views |
-
Save formcontent from many:many relation

19 July 2011 at 7:23am
Hello all,
I'm currently struggeling with the following. I have some products which are saved in the database. From this products I wish to create packages containing one ore more products. One product may occure in more than one package and one package may contain multiple products: many-many relation between products and packages.
Now I have some problems to create a code to actually save the selected products. I'm capable to create a form where one may enter a Package name and to generate checkboxes per product (using checkboxSetField). I spend many time searching the web to see if SS had any build in feature for this, but I can't find it. Aren't there any? Do you maybe have a suggestion on how to tackle this problem?Any help appreciated,
Maurice -
Re: Save formcontent from many:many relation

19 July 2011 at 10:15am
Found this very promising answer, thanks.
http://www.silverstripe.org/form-questions/show/16256?start=0
| 690 Views | ||
|
Page:
1
|
Go to Top |

