How can I set a maximum total for products? Ex: I want it to be $5 per person but a max of $20 per family.

  • Profile Image
    Asked on January 04, 2022 at 02:37 PM
  • Profile Image
    Answered on January 04, 2022 at 08:51 PM

    There's no direct feature to achieve that but there's a workaround by hiding the submit button when the total is greater than $20 so the user can't submit the form until the total is corrected.

    Here's how:

    1. Add the Form Calculation Widget in your form and add the payment field in the formula to capture the total. You can also hide this widget (Right-click this field > hide) if you don't want it to be shown in live form.


    2. Add your custom warning message to be shown in the condition when the total is greater than $20.


    3. Create a Show/Hide condition that Hides the submit button and Shows your custom warning message when the Total is greater than 20.


    Example result:


    Here's my cloned form with these changes:

    You can clone this form back so you can inspect and use it if you like. Guide: How to Clone an Existing Form from a URL