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.

Archive /

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

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

Forms


Reply


1031 Views

Avatar
Psykick

Community Member, 5 Posts

2 May 2008 at 4:21pm

Edited: 07/05/2008 12:28pm

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?