Jump to content

[SOLVED] Order form grand total


Kano

Recommended Posts

Hi there,

Can someone help me please.

 

I have an order form in which PHP freaks kindly helped me build a while back, but I am having problems with including a grand total to the form.

 

Each line of the form has a sub-total which javascript works out by * the qty (select tag) with the price, the javascript is 'onchange' on the select tag.

 

Now i want the forms grand total input box to = all the sub-total input boxes.

 

Would this be done within the same javascript function on the select tags (i.e every time there is a change work out grand total)?

 

The sub-totals have a name="subtotal_$wsi_id" (i.e. sub-totals have an index of subtotal_)

 

The grand-total has a name="grandtotal"

 

Many thanks.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.