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

UserForms - creating a good looking email template

Go to End

2 Posts   1802 Views


Community Member, 107 Posts

15 June 2009 at 1:47am


I installed UserForms and it works pretty well.

Right now, I'm editing the file and I need to know, what type the Field is, the code currently pastes. I want to handle headings different to the rest, like:

<% control Fields %>
<% if Fields.Heading %>
do something
<% else %>
do something else
<% end_if %>
<% end_control %>

I was looking in the documentation, the tutorial and the forum, but I didn't find anything.

Thanks in advance.

Best, Mario


Forum Moderator, 5523 Posts

15 June 2009 at 5:32pm

I would have thought it doesn't output literal text fields such as headings, content boxes and so it only outputed fields which had submitted values. The reason for this is it doesn't print out from the submitted fields rather then values saved from the database.

Are you using 0.2 release of userforms?