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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

How to edit multiple DataObjects in front-end?

Go to End

3 Posts   1758 Views

Johnny N

Community Member, 2 Posts

23 September 2009 at 12:21am

This question was already asked 11 months ago here. I wonder if anyone has come to a solution by now? Cheers.


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.

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

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?