How to calculate a total amount to pay based on field input or selection?

  • vsmarcas
    Asked on March 7, 2016 at 1:40 PM

    2) Criei um campo "total" e qual é condição que o usuario ao selecionar varios produtos só somar no campo Total o que ele seleciona ( atualmente coloquei uma condição que ele fica somando tudo mesmo sem esta selecionado)

    Exemplo que coloquei no meu formulario: campo "escolha sua pizza" quando "esta preenchido" calcular "escolha sua pizza" + "preço" ( bauru) =  campo "total". Mesmo não esta selecionado o campo aparece o campo "total" somado.

    Preciso que o campo "total" só faça ação quando o usuario selecionar seus pedido.

  • Kevin Support Team Lead
    Replied on March 7, 2016 at 1:47 PM

    I see that you are using a payment integration, it calculates automatically the total amount to pay and it shows the amount on the form, I see that you want to calculate the total amount based on other field input/selection, you may also use calculations instead of conditions to get the total, please take a look on this guide to get further details about it: http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    Once you have the calculations in your form, you need to pass this value to a payment field, this guide will help you to pass the value to a payment field: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Do let us know if you have more questions, we will be glad to assist you.