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.

General Questions /

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

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

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


Reply


720 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?