JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to hide empty fields on emails?Asked by makeholer 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 http://www.prontoponto.com.br/casadoconstrutor/casadoconstrutor.html
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...
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.
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).
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.