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.
Conditions: Multiple possible values with commasAsked by Mareid on January 02, 2015 at 07:37 PM
The directions say that multiple values of a condition can be separated with commas, but that did not work for me. I had to use the logic if 1, or if 2 or if 3 then take this action. You can see this on my form in the conditional for the dateString field where I wanted to put if <datestring field> begins 1,2,3,4 then 15, but when I look at the compiled version of the statement the condition(s) comes out as "1,2,3,4" instead of "1", "2", "3", "4", which I think would work.
The field is designed to change the value in a second field to 15 if the month of the year is January, February, March, or April, and to 30 if it is any other month.
I cloned your form and check the saved conditions and I saw that you are using the conditions "Starts with" and "Doesn't start with". Unfortunately, multiple values are not supported in those options. However, you can use the "Contains" condition because it supports multiple values with the use of commas.
So the work around that you did is actually good. Hope this helps. Let us know if you have further questions.