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.

All other Modules /

Discuss all other Modules here.

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

UserDefined Forms How Do I call it?


Reply


3 Posts   634 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, 5513 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.