How to calculate my selections

  • Profile Image
    customlogoshop
    Asked on August 26, 2016 at 11:08 AM

    Hi,

     

    I have a logo design selection part and a stationery design selection part. i've been trying to get this right all day but just can't get it! 

    Here's the form https://www.customlogoshop.com/order-test

    I want it so different values add up when selected. e.g logo design is £99 and letterhead is £25 - so I need this added up. 

     

    But also people can select 1 logo package and MULTIPLE stationery so for example, £99 logo, £25 letterhead and £25 compliment slip all need to be added up.

     

    I also want it so it's written like Total: £(insert value).00

     

    Need help badly with this as it's driving me crazy!

  • Profile Image
    david
    Answered on August 26, 2016 at 11:49 AM

    The best way to do this would be to assign your options calculation values:

    https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    This guide is a bit out of date, the place to enter the values for each field currently looks like this:

    It is now under the "Surveying" tab.

    You can then sum up those values in a calculation field:

    https://www.jotform.com/help/259-How-to-Perform-Calculation-in-the-Form

  • Profile Image
    customlogoshop
    Answered on August 26, 2016 at 11:57 AM

    Hi David,

     

    There is no calculation value box so adding fields into the calculation field isn't going to work. 

    Did you take a look at the link? I am using image selectors 

     

    Thanks!

  • Profile Image
    david
    Answered on August 26, 2016 at 12:34 PM

    My apologies, for that widget, you would need to use a workaround.  What I would suggest is creating a text box for each widget, then creating a condition to update that textbox with the appropriate value:

    A condition would need to be set up for each selection.  You can then use the text box values in your calculation.

    Here is a test copy of your form with the first field set up:

    https://form.jotform.com/62385237159967

    You can clone the form to your account to inspect it further:

    http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    The text boxes do not need to be shown in the form and can be hidden after everything is set up.