Jump to:

2011 Posts in 1436 Topics by 620 members

Form Questions

SilverStripe Forums » Form Questions » Template for $LoginForm only

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

Page: 1
Go to End
Author Topic: 3724 Views
  • grilldan
    Community Member
    135 Posts

    Template for $LoginForm only Link to this post

    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
    ......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?

  • Heike-san
    Community Member
    52 Posts

    Re: Template for $LoginForm only Link to this post

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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.