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

How to edit multiple DataObjects in front-end?


Reply


3 Posts   1346 Views

Avatar
Johnny N

Community Member, 2 Posts

23 September 2009 at 12:21am

This question was already asked 11 months ago [url=http://www.silverstripe.org/archive/show/210896#post210896]here[/url]. I wonder if anyone has come to a solution by now? Cheers.

Avatar
dalesaurus

Community Member, 283 Posts

23 September 2009 at 2:59am

Edited: 23/09/2009 3:00am

Have a look at the Diary module to get an idea of what you will need to build. It has both front and back end forms editing, it should get you pointed in the right direction.

http://silverstripe.org/diary-module/

There are many ways to solve this but you're going to have to get your hands dirty.

Avatar
Johnny N

Community Member, 2 Posts

23 September 2009 at 3:28am

Thanks for the hint! But if I'm interpreting the code of the Diary module correctly it provides a list of events with corresponding edit-links that lead to a form where you can edit a single event, what is not quite exactly what I'd like to build.

What I am looking for is someting like an editable list. Let's say users should be able to list their biggest wishes. How can I build a form that gets populated with already existing wishes as values in input fields or – if the user is new – shows for example four blank input fields (with the option to insert more by jQuery). Is their a built-in functionality for anything like that or do I have to get my hands really dirty?