How to hide empty fields on emails?

  • Profile Image
    Asked on February 02, 2015 at 09:32 AM

    I've a product form, is there any way to remove the need of checking each product before selecting the quantity? Or maybe an auto-check when u select any quantity? here's the form link

  • Profile Image
    Answered on February 02, 2015 at 10:17 AM

    Ive fixed it by making it read-only and checked by default, now the problem is that all the products, even without quantitys, will be sent to the email, making it really big...

  • Profile Image
    Answered on February 02, 2015 at 11:26 AM

    You can hide the empty fields in the emails by enabling "Hide Empty Fields on Emails" option from Advanced tab in the Preferences.

    I think you should try our payment tool to have multiple products with various options. You may use Purchase Order if you are not really accepting any payments through the JotForm. Following is the sample product added to Purchase order.

    It'll be shown in the form as below :

    This may be easy and useful to you by having additional options like adding Taxes/shipping charges, etc. Please go through the following guides that can help you with this.

    Hope this information helps. Please get back to us if you need any further assistance. We will be happy to help.

  • Profile Image
    Answered on February 02, 2015 at 11:52 AM

    Thanks for the answer Kiran,


    Hidding in the menu will not work because the product is checked, but without any quantity.


    About the form, I was using the purchase order form, but it didn't work because u cant add multiple dropbox options on the same product making it work at the Total (u can only add 1 quantity option, the other ones will be custom options, that will not sum on the total).

  • Profile Image
    Answered on February 02, 2015 at 12:50 PM

    In behalf of my colleague, you're welcome.

    In your current form, the hide empty field option won't work because the product items are not connected to the dropdown options. They are simply selected by a custom script. You may consider giving users the option to check the items? Then you can revise you calculation to only include the items which are check.

    As for the multiple options, yes you are correct. You can only add one single option with special pricing in the payment integration. You need five per your current form settings so I think your workaround is the only answer.