Is there a way to set a minimum order before people can submit the form?

  • brunociab
    Asked on July 4, 2016 at 12:40 PM

    Tem como inserir um limite mínimo de compra para meu formulário?

    Por exemplo: Se o valor da compra for menor que R$ 35,00 o pedido não será enviado, aparecerá uma mensagem de erro após clicar o botão enviar.

  • Welvin Support Team Lead
    Replied on July 4, 2016 at 1:00 PM

    If you mean to limit the total order before people can submit the form, you can do the following workaround:

    1. Add a calculation widget and add the "SELECIONE AS QUANTIDADES DOS ITENS DESEJADOS:" in the equation:

    Is there a way to set a minimum order before people can submit the form? Image 1 Screenshot 30

    2. Add a conditional logic to hide the submit button when the order is less than 35.

    Is there a way to set a minimum order before people can submit the form? Image 2 Screenshot 41

     

     

    Here's my cloned version of your form showing the changes: https://www.jotformpro.com/form/61854938784979

  • brunociab
    Replied on July 4, 2016 at 3:10 PM

    Muito bom!

    Entretanto tem como realizar esta mesma função sem necessariamente ocultar o botão enviar?

    Gostaria que apenas aparecesse aquela mensagem de erro embaixo do botão enviar, assim como acontece nos campos obrigatórios.



  • Mike
    Replied on July 4, 2016 at 4:36 PM

    Yes, you can remove the hide rule from condition.

    Is there a way to set a minimum order before people can submit the form? Image 1 Screenshot 20

    However, the form users will be able to submit the form even with the amount less than 35.00 in this case.