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.
How can I make a group of boxes enter a particular total?Asked by jrsnell on June 18, 2014 at 02:09 PM
I am developing a form and one question I am asking is what percentage of my client's assets are held in each financial class... i.e. stocks, bonds, other, cash etc.
I want to provide an entry area where they can enter a number between 0 and 100 (percentages), but I also need of all of the boxes to total exactly 100 (percent) for the question to be considered as answered.
I'm sure I'm not the first, but I can't find anything in the forums etc. Maybe if someone has an example or can point me to a previous post, that would be great.
I don't think we have a direct function that would compare the exact answers so I would suggest hiding the submit button until the total becomes 100.
Example: http://www.jotformpro.com/form/41686480816968 (Clone version of your form). As you could see, the submit button is hidden by default. The field "Total (Must equal 100)" must have the total of 100 before the submit button becomes visible.
I have added the following conditional logic entry:
This should work! Your thoughts?