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:

Form Questions /

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

Does every form have to be built from scratch?

Go to End

3 Posts   1257 Views


Community Member, 2 Posts

17 December 2009 at 8:32am

Hi, Folks, in the first newbie stages of using SS.

As I'm sure is common, I want to transition existing clients and their websites over to SilverStripe.

Can I just copy and past all of their form html markup somewhere, instead of re-coding each and every form element for dozens of client forms?



Forum Moderator, 5523 Posts

17 December 2009 at 8:54am

Welcome to the Forums Bluesman,

You might have trouble just copying and pasting the form html as you would have your own actions for the form which would need to be brought into SS. Making forms with SS is fairly simple. Tutorial 3 covers the form functionality. If you want an even easier way check out the UserForms modules which allows you to drag + drop in the CMS to construct your form without any PHP coding.

The hardest thing will be if you have specific styles / html which you use for form layout. Your styles will probably need to be changed to fit the HTML the form templates generate - unless you want to override those as well which is a bit tricky.


Community Member, 2 Posts

17 December 2009 at 9:39am


I'm used to hand-coding and am finding the CMS a little frustrating - but it will be perfect for clients being able to edit "content".

The thought of all the forms that need to be rebuilt is daunting - not to mention revising/creating the template css for forms.

I will be revising themes/templates to work with their designs, as well.

Just was looking for short cuts, although I suppose all my existing php form processing needs to be re-created as well.