- bimikasaloisAsked on December 03, 2015 at 02:25 PM
I am including some product items on my form under the "Purchase Order" tool with options like "Quantity", "Size", and "Color". I want to setup an order minimum for my product so I setup a conditional logic that says IF my product quantity is less than the value 8, then DO show the text field "Minimum order number is 8". But when I go into preview mode, and input a quantity number less than 8, nothing happens. Am I missing something here?
Thanks in advance.
- JotForm SupportdavidAnswered on December 03, 2015 at 04:36 PM
I set up a quick test form to make sure conditions from product quantities are working and they do appear to be. Here is the quick test form:
Anything less than 8 entered for the first product will show the test header.
I am checking your form however and the same condition does not appear to be working. It seems to be associated with the quantities being a sub-options. Since there are multiple quantities for your products it may not work as you have it set up. You will need a single quantity for each product if you would like to have conditions associated with them.
Here is a clone of your form with a test product added:
The condition works for the test product because it has a single quantity. You will need a separate product for each option if you would like to keep the conditions the way they are.
- bimikasaloisAnswered on December 04, 2015 at 12:51 AM
Thank you for your answer. Now I see that the condition doesn't work if I specify any product options as sub-options. I can work around this by not specifying any options as sub-options.
However, I do still see that the condition doesn't work if I add more than 1 product. Looking at your test form that you sent you will also see that if I leave quantity of product 1 as 8 (satisfies condition) but make quantity of product 2 less than 8, then the condition doesn't seem to work for product 2.
Would you be able to help with this?
- CharlieAnswered on December 04, 2015 at 04:21 AM
It seems like this is because you are using two quantity fields in each product. The condition does not seem to identify which quantity field should be followed based on the rule.
Here's a simple test form with multiple Quantity field on one product item, it has a conditional logic on it: https://form.jotform.com/53371476486970?.
Below is how it is setup, noticed that it has sub products with each one having its own quantity field.
Here's my conditional logic on it.
Here's a simple test form with one quantity field on one product: https://form.jotform.com/53372330290953?. Noticed below that it works.
I have forwarded this to our developers to have it checked and fixed. For now, it seems like there's no workaround for this, unless you will recreate the products using simple form fields and pass the calculated values directly on a custom total on your payment wizard, here's a guide about it: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field
We will update you as soon as this problem has been fixed. Apologies for the inconvenience.
- bimikasaloisAnswered on December 04, 2015 at 01:43 PM
Thank you for your reply. I understand that the conditions work with only one quantity field. However, I see that the conditions also don't work with more than one product.
Here's a test form I created with 2 products:
If you could incorporate a fix for this as well that would be greatly appreciated since someone who is using the Purchase Order tool will most likely include more than 1 product.
- JotForm UI DeveloperberilAnswered on December 04, 2015 at 03:16 PM
Thank you for your detailed response.
I could replicate the same issue when I test the form on my account.
I forwarded that information to our developers. We will inform you when we solve the problem.
- JotForm SupportMike_GAnswered on March 23, 2016 at 08:58 PM
I have moved your concern to a new thread. We believe that we can better assist our users if they will have a thread of their own for every question that they have. You can follow the thread opened for you by clicking this link.