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   1040 Views

Avatar
fordy

29 January 2009 at 5:14am Community Member, 46 Posts

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

14 October 2011 at 11:02pm Community Member, 99 Posts

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

14 October 2011 at 11:52pm Forum Moderator, 1796 Posts

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

14 October 2011 at 11:57pm Community Member, 99 Posts

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

L