How can I make a group of boxes enter a particular total?

  • Profile Image
    Asked 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.


  • Profile Image
    Answered on June 18, 2014 at 04:13 PM


    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: (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?