What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
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.
Purchase order payment tool: it doesn't work with conditions properlyAsked by janebeverley on March 17, 2016 at 08:09 AM
I have a series of products from two categories. If a customer orders from one category they are charged a flat rate shipping cost for that category. If they order from both categories they are charged the flat rate shipping for both categories.
I used conditional formatting to fill a shipping field that I created for each of the categories. However, it is not consistently working for the first category and not working at all for the second.
I used an if the quantity is greater then 0 then copy the shipping number from a hidden field to the visible shipping field.
Thanks in advance.
I've cloned and tested your form. I see that if you choose just one product from your payment tool. it doesn't copy to hidden value to shipping cost.
It is weird because the first two conditions are working together. Because of that reason, it is not working properly.
Let me try to figure out the cause of this issue. I will get back to you on this soon.
Thanks for looking into this.
I also had another issue:Because I have to add the flat rate shipping based on product line I created the shipping text boxes and am attempting to create a Grand total text box. However, when I am trying to calculate the total cost I do not have access to the total value from the product order section. How would I get that total to use in the lower section of the form?
Hi Jane, I have moved your other question on this thread http://www.jotform.com/answers/796941. We'll be on it shortly.
First of all, l added the calculation widget and hide that field as you see below:
After that, I inserted the shipping value in our calculation widget.
Please note that the sort of your fields is so ımportant for creating conditions. Because of that reason, at the first, we will add our form calculation widget. After that, we will add our text box field.
And finally, I created conditions as you see below:
However, it didn't solve your problem. Then, I've changed your conditions as you see below but it didn't change the result.=(
And finally, I've changed the order of your products on your payment tool.
I see that the problem occurs due to your payment tool instead of conditions. Because when I've changed the order of your product,the problem occurs on your first product.
Here is how it works:
I've also tested it different payment tool but I couldn't solve your problem.=(
I will escalate it to our second level and one of our developer will take a look here, you will be notified when it's solved or will get news about it via this thread.
Thanks for all your work on this. You really turned the process inside out to figure this out and I appreciate it.Is there a way I could create a running total of product quantities? I cannot use the product quantity in the calculation section of the conditions but the quantity is available for the 'if-statements'. Is it possible to use the quantity in the calculation?
You're most welcome Jane. I really wanted to solve your issue. I will answer your next question at the following link so please, follow up there:
We noticed that you're asking credit card details in your form. Because of that reason, I've deleted those fields. Please note that you can not ask sensitive information such as credit card information and any type of login credentials.
Phishing. You agree that Company may terminate your JotForm Service immediately if a form's purpose : sensitive credit card information, social security numbers, user login credentials, or other sensitive personal information. All these activities are considered as Phishing and any account along with the violating forms will be suspended immediately.Collecting Sensitive Information. You may not use the JotForm to collect certain types of sensitive information, including but not limited to credit card information and any type of login credentials. You may collect some sensitive information such as social security numbers or driver’s license numbers, but you are required to use best security practices of JotForm including SSL and Encrypted Forms features. You are solely responsible for compliance with any data protection and privacy laws and rules applicable to the sensitive information.The only way of creating an order form is using our payment tools with JotForm. If you want to create multiple payment forms, please check the guide below for more information:We would appreciate it if you don't ask credit card information again. Otherwise, your account will be suspended by our system.Thank you.
Thanks for letting me know. I was not aware.
I will not make that mistake again.
I will read the guide and figure out how to do this.
I am looking to take the credit card information and process it when the orders are shipped.I cannot find a payment type that can do this with a product list and not a donation field.
You're kindly welcome. I realized that you weren't aware.=)
If you want to create two steps payment form which allows purchase later you can enable payment authorization feature. At that time, payment will be captured at a later time when needed. The guides will help you for creating better payment forms
I will answer your second question at the following link. Please follow up there: