View Full Version : html forms post request

10-03-2002, 12:34 PM
Hi there...
i am in the process of putting a shopping cart on my web site. I am using mal's e comerce and one of his configurations is to set the continue shopping button from his site to return data back to my site in the form of information about qty in cart and subtotal in cart.
he says
"The Continue Shopping button can be set to include various fields that describe the current state of the customers cart. These include the total value of the cart and the number of items in it. The button itself may either be a POST request, using hidden form fields, or a GET method request with a query string. The special field sd, for managing state, is also included.

An obvious application for this data is to maintain a small box on every page of your site which summarizes the customers cart"

I'd like to use a form post request iwth hidden form fields....but don't know how...
he says...

"The URL for the Continue shopping button is taken from the field named return which you include in your Add to cart and Review links. It is possible to append a query string to the value although it must be properly URL encoded if it is itself part of a hyperlink and a query string. For example;


is a valid return value for a link back to:


If the cart is passing back it's own values in the Continue shopping button any additional values that were appended to the return field will also be properly included as well. If the Continue shopping button is a Form POST then they will be put into hidden form fields. In this way virtually any data may be sent to the cart and then returned.

sorry this took so long to explain...I'm jsut very confused. Am I even posting on the right site? Is this Dhtml? can anyone suggest a website that may explain in simple words?

10-04-2002, 04:30 PM
I'm not really sure exactly what you're after, but here's a POST form with hidden fields...

<form action="whatever.cfm" method="post">
<intput type="hidden" name="returnURL" value="shopping.cfm">

10-04-2002, 05:29 PM
thanks beetle....what I needed was a piece of java script that could link and exchange details from my pages to my SSL.
many thanks for trying to help tho'...I think I have what I need now.
I think I also posted on the wrong forum...oops...sorry to you all.:rolleyes: :o