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:

All other Modules /

Discuss all other Modules here.

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

UserDefined Forms How Do I call it?


Go to End


3 Posts   802 Views

Avatar
senica

Community Member, 18 Posts

20 June 2010 at 1:28pm

Hi, I just installed this module: http://www.silverstripe.org/user-forms-module/

I installed it okay, it's coming up in the CMS, but when I go the page (it's a contact page) I don't see any form.

Do I have to call the form from my template? If so using what keywords? also, can I call it from within the CMS itself like putting a keyword in the content area?

Thank you!

Avatar
Willr

Forum Moderator, 5523 Posts

20 June 2010 at 11:14pm

Your template must include a $Form variable.

If you want to nest the form inside the content field then you can write $UserDefinedForm in the CMS and the form will be inserted at this point but this has a couple issues so the best idea is to include a $Form in your template (which it should have anyway for login forms etc).

Avatar
senica

Community Member, 18 Posts

21 June 2010 at 12:34am

Thanks again Willr.

You are a life saver.