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.
Validate a total of 100%Asked by AnJoh2225 on April 22, 2016 at 04:09 AM
I want respondents to define what share of their time they spend on different activities and I want to make sure that the total sums up to 100%. Can that be done?
Best regards Anna
As far as I understand from your thread, you want to be sure that your customers fill all of your questions. You can use our progress bar widget. At that time, your users will able to check whether they have completed the form, and also providing feedback on how far they have to go.
In addition to that, you can require all of your fields as you see below:
If this doesn't answer your question, please explain further and/or add more details about it so we can assist you properly.
I've checked your form which is https://www.jotform.com/61121268530345 I understand your issue now.
You want to show the total of your Under en genomsnittlig arbetsvecka - uppskatta total andel tid du lägger på följande aktiviteter (ska summera till 100%) field and get the error message when the calculation is not 100.
It is possible with the Form Calculation widget and conditions:
First of all, you will add the Form calculation widget on your form and you will add your field as you see below.
Then, you will check all of your checkboxes for the desired field.
And finally, you will sum your values as you see below:
Now, we will show our error message with Show/Hide conditions.
If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.
Let me offer an alternative solution (provided that I understood your specifications).
There are 4 activities that the users can adjust via the sliders.
If the total % is not equal to 100%, the Submit button will be disabled.
If the total % is greater than 100%, an error message will appear & the Submit button will still be disabled.
Hope this demo form helps.
- Randy, fellow JotForm user.
Thank you for your suggestion @Randy. It is a really good solution. In addition to that, you can also change your maximum range as you see below:
Feel free to contact us anytime.