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

Template for $LoginForm only


Go to End


2 Posts   4400 Views

Avatar
grilldan

Community Member, 135 Posts

6 September 2009 at 5:05pm

Edited: 06/09/2009 5:06pm

What I need is a way to customize the form template when $LoginForm is called, but leave all other forms alone.

In logic, I want to be able to do something like this:

if form
...if loginform
......show 1
...else
......show 2
...end if
end if

In the Form.ss, it usually calls "$FieldHolder", I need it to call "$Field", but only when the $LoginForm is used.

Any suggestions?

Avatar
Heike-san

Community Member, 52 Posts

1 April 2010 at 3:23am

Have you found a work around your issue,, cause I think that I am having the same problem at the moment!