HOW TO CALCULATE PRICE AND QTY IN PUBLISHER WEB PUBLICATION

M

Mike Koewler

Ivan,

If you are doing this for something like PayPal, there is no need to. PP
and most shopping carts have a key for price and another one for
quantity. However, if it is for something else, create a form. Name one
value something like "cost" and another "quantity" Then you will need a
line like this:
<INPUT TYPE="BUTTON" STYLE="COLOR: WHITE; BACKGROUND: BLUE"
VALUE="total" onClick="this.form.Total.value = this.form.cost.value *
this.form.quantity.value">
<INPUT
TYPE="TEXT" NAME="Total">

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top