- SJWFormsAsked on January 18, 2014 at 03:35 PM
I'm trying to create an order form for CD's that our school will be selling. The end user has the option to select mail delivery, but this is an additional charge. Here's what I want to do:
Total = #ofCDs x 10 + Shipping, if any
input #ofCDs desired > form calculates Total = #ofCDs x 10
if user selects "mail delivery", then form adds Shipping (3 x #ofCDs) to Total
I think that this can be done, I just don't know how. Any ideas?
- JotForm SupportEltonCrisAnswered on January 18, 2014 at 06:04 PM
- SJWFormsAnswered on January 18, 2014 at 06:43 PM
Thank you! I was able to get something going. However, I want the form to only calculate shipping if it applies, and I can't figure out how to do it.
Subtotal is supposed to take the number of CD's and multiply it by 10
Shipping Charge is supposed to take the number of CD's to be shipped and multiply it by 3
Total is supposed to add Subtotal and Shipping Charge
The problem I am having is that if the number of CD's to be shipped is equal to zero, then Shipping Charge stays blank, but so does Total.
Could you take a look and see what I'm doing wrong?
- JotForm SupportEltonCrisAnswered on January 18, 2014 at 08:58 PM
I am trying to understand your calculation. Can you explain the difference between no. of CDs and no. of CDs to be mailed?
Unfortunately, that is how calculation works. Maybe you could add another total fields specifically for mail delivery? Here's an example: http://www.jotformpro.com/form/40177632343956?. I'm not sure if I got it right, maybe you can figured it out when you clone this form.
- SJWFormsAnswered on January 19, 2014 at 02:42 PM
Yes!! That's what I wanted! Thank you so much. I only wanted it to calculate shipping if the person selected shipping, so that is perfect!