close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

2 forms with eCart not working

Thread began 12/22/2011 6:23 am by steve287725 | Last modified 1/05/2012 10:10 am by steve287725 | 1066 views | 6 replies

steve287725

2 forms with eCart not working

Hello all

I have 2 forms on one eCart 'confirm' page - the first sends the order details through to a secure payment gateway and inserts the contents into my database absolutely fine, and also sends the confirmation email with the cart display in it to the buyer and me - all good.

I have a second form on the page which is intended simply to email the cart contents to the buyer without paying (but still insert the information into the orders database) - weird I know but that's what the customer wants - as a pre-priced enquiry.

The issue - when the second form is submitted it hangs for a while, does not send the email and only inserts partial info into my database.
Then instead of going to the GoTo page as set, it returns to my cart!

I have raked through the forum and made sure that the form triggers are separate, and the second form (the one that does not go to the gateway) is the only one with a 'GoTo' page set.
Obviously the first form has its action set to the gateway, the second one has no action set.

Anyone shed any light on this please?
The code looks right as far as I can see.
Any help would be appreciated

File attached for reference

Thanks all

Steve

Attached Files
confirm.zip

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...