Jump to:

1970 Posts in 1275 Topics by 607 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: 3608 Views
  • grilldan
    Avatar
    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
    ...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?

  • Heike-san
    Avatar
    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!

    3608 Views
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.