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

Userform in a popup?

Go to End

4 Posts   1308 Views


Community Member, 15 Posts

2 March 2013 at 2:50pm

Hi all is there a simple way to include a userform in a popup, i would like to just include the $userform in a popup box rather than load a whole page including headers and menus?


Community Member, 69 Posts

10 March 2013 at 1:11am

Edited: 10/03/2013 1:12am

make an userform wich does not show up in the menu
make an link wich opens the popup. In the popup call by for instance an iframe the userform

or... (what i do myself with movies and should work for forms to)

use prettyphoto (place in the website root) and link your page/pages with prettyphoto
make the userform and do not show in menu
make an prettyphoto link in the page to load/project prettyphoto html pages


Community Member, 15 Posts

10 March 2013 at 3:01am

thanks for the reply, i had tried using a similar method but it delivered the whole page in the pop up header, logo, footer and everything else, I just want a popup showing just the form, i thought about adding new page headers and theme for the forms but didnt get any further, correct me if im wrong but wont your method show the whole page too or is there a special way of linking to just the form part?


Community Member, 1 Post

16 July 2014 at 1:08pm

Edited: 16/07/2014 1:16pm

I came in the same problem, I solved by creating a simple template for UserDefinedForm page type (, that shows only forms, without navigation, footer, etc etc. I've placed it in the 'templates' folder of my custom theme.