Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

form with relational data


Reply


2 Posts   1028 Views

Avatar
jmdavid

Community Member, 1 Post

5 September 2008 at 1:41am

Is it possible to add a sub-form for one-to-many relationship?

Avatar
Willr

Forum Moderator, 5513 Posts

5 September 2008 at 3:42pm

Is this on the front end or backend? Anytime ive needed a 1 to many relation ive used a ComplexTableField - http://doc.silverstripe.com/doku.php?id=complextablefield or if you dont need to add options or delete (just select) you could use a CheckBoxSet field - http://doc.silverstripe.com/doku.php?id=checkboxsetfield which I think you can get working with a one to many as well as a many many