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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

form with relational data


Go to End


2 Posts   1357 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, 5523 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