Make 'Free' non-display when price is zero and total amount

  • mspatdavis
    Asked on February 21, 2024 at 8:28 AM

    Hello. For the image below can the following be changed?

    1. rather than quantity range starting at 1 for the first two products, can the drop down start at zero. The problem is when either of the first two options are selected, the total is populated. I would like the user to select 1 or a higher number from the drop-down as the quantity before adding to the total.

    2. for the third option, can 'free' be a non-display field. Also, can the amount box be blank or zero and not populate the total until after an amount is entered?

      I appreciate you help with these items. This is the second day I have worked on this and would like to purchase your product so the attendees can purchase tickets today. I was provided several solutions yesterday, but none of them are complete. Thanks so much.

      Make Free non display when price is zero and total amount  Image 1 Screenshot 20
  • Anna_B
    Replied on February 21, 2024 at 9:06 AM

    Hi Pat,

    Thank you for reaching out to Jotform Support, I'm sorry that you are having a problem with your form, for the dropdown option, Unfortunately, we don't have a way to make it 0 since the update that we have is automatically 1. Please inject this custom CSS in your form to non-display "FREE" field.

     span#input_46_1005_price {

      display: none;


    Give it a try and let us know how it goes.

  • mspatdavis
    Replied on February 21, 2024 at 9:32 AM

    Hello. I added the suggested CSS code and it got rid of 'free'. However, when I put a value in the contribution field, it does not add it to the total. I would like for it to be a blank field so once something is entered, it can be added to the total. Before someone had put '1' in there and when it was clicked on, it suggested contributing $1.00. Can you please help with that? I would like for the contribution to be more than $1.00, so I would like it to be blank, if possible.

  • Sim JotForm Support
    Replied on February 21, 2024 at 10:05 AM

    Hello Pat,

    Thanks for reaching out to Jotform Support. I'm afraid we cannot set "0" as the default quantity. We made a change to this quantity feature a while ago to prevent the form owner and form filler from entering "0" as an input. With this change, we are preventing people from submitting forms without making the necessary payments.

    If your customer decides not to buy the item, they can simply uncheck the box to remove it. I know that this can be a bit cumbersome, but this action ensures that the item is not marked as selected, even when the quantity is set to one.

    Make Free non display when price is zero and total amount  Image 1 Screenshot 20

    Let us know if you need any more help.

  • Pat Davis
    Replied on February 21, 2024 at 10:46 AM

    Well, how about the amount that is entered in the contribution field not being added to the Total. Is that something that you can help with?

  • Bilal JotForm Support
    Replied on February 21, 2024 at 11:09 AM

    Hello Pat,

    Thanks for getting back to us. The field you refer to is a quantity text box, since the Price is 0(Free) the value filled in the box will be multiplied to 0 and that's why the amount is not added to the total.

    Unfortunately, the product list doesn't have the option to add a custom price to a product. You can try creating a custom payment field so that you have full control over how the prices are calculated. To create a custom payment option, please refer to this guide.

    As an alternative, you can set your product/contribution price to $1 so that whatever amount the user enters in that quantity box will be added to the total.

    If you have any more questions, reach out again.