This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
forms

I am trying to figure out if a form can have more than one action attached to it. My specific problem is this. I need to figure out a way to have the "buy now" buttons on my product not only be sent to the shopping cart program, but also to one of my email accounts. Is there a way for me to add in another action destination. Maybe by seperating the two with a comma or somthing? Any help at all will be apprectiated! Thank you.

Re: forms

A form can only have one action but that action can perform multiple functions.

Two ways you can achieve what you want:

1. Modify the code for the shopping cart so that it also sends you an email.
2. Set up a second form with hidden fields that can be loaded with all of the values entered on the first form (as well as displaying them as plain text). The page displaying the second form would send you the email and ask the person to confirm their details to post to the shopping card.

Either method requires changes to the server side processing, if you don't have access to change this then you are limited to what actions the existing processing performs.