JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to set shipping based on purchase amountAsked by mcwhirtersupply on September 03, 2015 at 08:29 PM
I'm trying to set up an order form using the purchase order wizard, but I need to the shipping to be adjusted based on the dollar amount of the order. IE, up to $99, shipping is $X.XX. Is there a way to do this?
If I understand you correctly, you want to set a shipping fee on a field based on the order total from the Purchase order widget. Unfortunately, you can't do it on the widget. You may however, use your form source code and add a custom script that will update some field based on the order total and do the conditional logic you need.
Do let us know if you need further assistance.
Okay. I don't write scripts; is there a script available somewhere that you can point me to? Thanks.
Unfortunately, we cannot help you with custom scripts. However, as an alternative you may have the calculations done manually by having the products using dropdown fields and assigning the calculation values. Based on the selected product from the drop down and to calculate the shipping cost, you may perform the calculation to a calculation widget by following the guide How-to-Insert-Text-or-Mathematical-Calculation-into-a-field-using-a-Condition.
Once you have the final total, you may pass the value to the payment field i.e., purchase order.
Please see the demo form below to see if that works for you.
You may clone this JotForm to your account to see how the calculations are performed and conditions are set.
Hope this information helps. Let us know if you need any further assistance. We will be happy to help. Thanks!