Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Forms

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 988 Views
  • Psykick
    Community Member
    5 Posts

    Forms Link to this post

    Hi Guys,

    Basically what I am attempting to do is have two forms on a single page each with their own separate action. The overall idea is making a modification to the existing ecommerce v0.5.2-rc1 CheckoutPage/OrderForm so that when a member that has not logged in goes to checkout, an additional form would display allowing a member to login using their email address and password, on successful login it would redirect them back to the checkout page and would populate the order form with their account details. The standard order form would be displayed regardless of whether the member has logged in or not. The only variable in the equation that would change is whether or not the order form details would be automatically populated or not.

    Ideally all I need to know is how do I go about having two forms on a single page. What do I need in order to achieve this? CompositeField? Can someone give an example?

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.