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.
Why is my condition not working?Asked by PoughkeepsieFarmProject on March 28, 2015 at 12:57 PM
I'm trying to set up a condition so that the "fee" box has a minimum amount of $100, except when the fee is $0.
To do that, I've set the "calculation" box to equal the "number of youth" x 10 x "Is your group part of the Poughkeepsie City School District?" where yes=0 and no=1
then I've set up the "fee" box to equal the "calculation", but put a condition that if "calculation" is less than 100 AND more than 1, then 100 is outputted to "fee".
It seems to work sometimes, in preview, but most of the time it doesn't...is there a reason for that? Is there a different way to set it up that is more reliable?
preview different then and
I've actually solved it for myself...I've removed the original condition and also removed the "fee" equals "calculation" for calculation and replaced it with this:
condition 1: if "calculation" equals 0,
if "calculation" equals 100,
if "calculation" is greater than 100,
if ANY true,
then output "calculation" to "fee"
condition 2: if "caculation" is greater than 1
if "calculation" is less than 100
if ALL true
then output 100 to "fee
works like a charm!
Thank you for letting us know.
I'm glad to see that you were able to find the problem in your conditions.
If you need our help anytime, please let us know.
Actually, the issue is only partially resolved. Within the jotform preview, the form works fine, but where I have it embedded, not only does the calculation/condition not work, but also it lets you submit without filling out required boxes. I have sent 3 false submissions mistakenly and I'm wondering if it's possible to get my submission count back to 0.
Also, I need to solve my original issue.
The form I use now is a clone: http://form.jotform.us/form/50865305273152
and it is embedded here: http://poughkeepsie-farmproject.squarespace.com/group-farm-visit
I tested your form and I was not able to submit your form without filling the required fields.
Instead of using script block (source code) for embedding your form on website, you can try using iFrame code. Replace source code with iFrame to see if the form will work properly. In this article you can find out how to do it.
As free user you have 100 submissions/month and they will be reset on the 1st of next month.
Hope this will help. Let us know if you need further assistance.
Thanks for the info - I replaced the source code with an iFrame and now it works beautifully, thanks! Actually...I might do that with all the forms on the site....
Also, thanks for letting me know about the reset..I wasn't sure if it was at the 1st of the month or monthly based on when I signed up.
That's great to know and it's our pleasure to help! Please do not hesitate to get back to us if you need further assistance.