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.

Form Questions /

Reuse UserDefinedForms in other admin pages


Reply


4 Posts   1091 Views

Avatar
fordy

Community Member, 46 Posts

29 January 2009 at 5:14am

Hello,

Is it possible to create a user defined form in the "Content" area of the admin cms and then reuse that form in other areas of the CMS, for example a custom module?

I need the flexibility of adding / removing form fields on the fly so would like to use the form api.

Avatar
LinseyM

Community Member, 99 Posts

14 October 2011 at 11:02pm

Hi there,

Just wondering if you worked out how to do this? I'm trying to do something similar, but not having much luck...

Cheers!

Avatar
swaiba

Forum Moderator, 1804 Posts

14 October 2011 at 11:52pm

I'm not sure what either of your goals are here... what exactly would you want to be using "on the fly" fields for within the admin?
Why is not creating a DataObject and using ModelAdmin or adding fields to the required Page enough?

Avatar
LinseyM

Community Member, 99 Posts

14 October 2011 at 11:57pm

Hey, thanks for the response, I found what I wanted to do here: http://www.silverstripe.org/all-other-modules/show/8636

L