How do I integrate my square products into my form?

  • pcpo
    Asked on June 24, 2018 at 9:49 PM

    I ask a questions - yes or no - then they select.  Based on their selection, I need the cost entered into the my products.  I have created the products but I haven't been able to figure out how to connect them.  

  • Nik_C
    Replied on June 25, 2018 at 2:48 AM

    Unfortunately, it is not possible to calculate by using the Appointment widget. Because that widget is not possible to include in calculations as a number, so selecting of options will not reflect calculations properly.

    1) The only workaround I see is to create conditions that will calculate the price based on the selection in the Appointment widget, but for each selection, so that will mean that you will have to create that many conditions. For example:

    1529908986Screen Shot 2018 06 25 at 8 Screenshot 10

    2) So we are checking if July 15 is selected in the first Appointment widget and we're inserting 20 (as a price) into the calculation for that particular selection:

    1529909090Screen Shot 2018 06 25 at 8 Screenshot 21

    3) The above should be done for each selection in the widget (both of widgets). And finally summed in one calculation widget:

    1529909167Screen Shot 2018 06 25 at 8 Screenshot 32

    4) Then that price can be passed to payment field:

    1529909261Screen Shot 2018 06 25 at 8 Screenshot 43

    Let us know if that could work for you, you can check my test form as well: https://www.jotform.com/81751302351952

    Thank you!