I'm having some trouble understanding the calculations aspect of my form. I'm looking to have various options (check boxes) add up dollar amounts that will be displayed as a single number at the bottom of the form, but I can't seem to figure out how to assign these dollar amounts to the various check boxes, or how to assign them past selecting the title of the entire option field, which to my knowledge doesn't do anything currently.
Cognito-forms – Calculation of single total from various options
cognito-forms
Best Answer
First off, I am a developer for Cognito Forms.
Just to clarify, you want to show a set of checkboxes, with assigned prices, and calculate the amounts as a total for the form, something like this:
If you want to manually calculate a total based on the selections, you can use the following calculation (which is tricky, btw):
However, this is definitely not obvious, nor easy, so we have been working to makes things better. In the next release, which is currently in testing, you can configure choice fields as follows:
By selecting Collect Payment For This Field, you can then specify prices for each choice. These selections automatically add to the amount due and optionally can appear as separate order line items. This release will also support tightly integrated Stripe payment, so the order form example above would become:
Hopefully, these changes will support your needs and make things much easier!