what exactly is it you are totaling?
I'm not really sure what you mean by an eCommerce form.
normally, in an eComerce site, you would have product pages where the customer would add items to a shopping cart, then you would have a checkout page where the customer would fill in billing and shipping info to send to the payment gateway.
our eCart extension can do all of that for you. including create the checkout form.