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.

Customising the CMS /

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

ComplexTableField in popup no Add button


Go to End


2 Posts   1873 Views

Avatar
muho

Community Member, 2 Posts

2 July 2009 at 3:48am

Hi there,

I don't know where to post it to be honest, so I'm posting my issue here. I apologize if it doesn't fit. :)

My issue:
I have a 1 to many relation with a HasManyComplexTableField. Each row in the table is a single project. What I want to accomplish is let upload as many pictures for each project as you wish, in the popup of couse. I realized that the image upload form doesn't let you choose more than one picture. I can do several forms, no problem, but I don't know how many pictures a single project will contain.

I've come with an idea to create a ComplexTableField in the popup, one row will connect with one picture. But not mentioning that the Add button doesn't show under the Table (I have no idea why, did everything the same way I did with the main Table), it seems really complicated and I don't have that much experience and time to try every possible way of accomplishing it.

That's why I'm writing here for your help. I hope there is a decent way of creating such a really commong in my opinion form. Please, if you could explain me a technique of doing it, just few hints, I'd be realy grateful.

Thanks for any help,
muho

Ps. I've searched the archives for my issue, but didn't find anything helpful, maybe missed something.

Avatar
forester

Community Member, 4 Posts

26 September 2010 at 7:32am

Hi all,

I've got the same problem and also used the search-form, google,... and still find no solution...

Can anyone help me?

Thanks in advance