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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Saving selections in HasManyComplexTableField doesn't work with more than one page


Go to End


996 Views

Avatar
mobius

Community Member, 54 Posts

13 October 2009 at 2:40pm

I have a complextablefield where users can choose which of their contacts are in a particular list. It works fine if there are less than 10 contacts total, but any more and the complextablefield starts to paginate. When I save, all the selections from the other pages are removed.

It seems this is because only the page that we're on is posted back to the server, and setByIDList removes all the other pages item...

how can I get around this?