What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.

  • Profile Image

    Form Condition: Hiding a lot of Fields

    Asked by Tristanoreilly on August 01, 2013 at 12:07 AM

    Hi I am having issues with a pricing form that I have setup. There is alot of conditions and when I access the form all the hidden fields show for a second before dissapearing. Is there a better way in which I should setup the form to make it run smoother?

    Page URL:

  • Profile Image

    Answered by jefreylandicho on August 01, 2013 at 02:55 AM

    I get 500 Internal Server error when I have visited the page url you have provided. Can you please provide us the form ID, Name or link instead?

  • Profile Image

    Answered by Tristanoreilly on August 01, 2013 at 08:34 AM

    Please try


  • Profile Image
    JotForm Support

    Answered by abajan on August 01, 2013 at 09:11 AM

    Those are indeed a lot of conditions! It could take some time to figure out the best solution but substituting "Show" conditions for the "Hide" ones may help. For instance, change the first condition from


    I've cloned the form to see how best to resolve the issue. I'll let you know when I have a solution.

  • Profile Image

    Answered by Tristanoreilly on August 01, 2013 at 07:02 PM

    It did have it that way in the first place, but changed it around to see whether it would help at all. That would be great if you could take a look at it. Ideally I would like to use the payment integration however i can't make it work neatly. Thanks again

  • Profile Image
    JotForm Support

    Answered by jonathan on August 01, 2013 at 08:33 PM

    @ Tristanoreilly

    I also agree that the too many conditions and repeated HTML fields in your form is causing the render delay on your website. I understand that you had to create these many conditions in your form because of the calculations (which are actually only an illusion because there is no calculating process in your form at all)

    Personally, if I am to do this on my end, I would have opted to use the form's source code and inject real calculation process using javascript codes. It will no longer required such many show/hide condition logic because it will actually do calculation process. It will shorten and simplify the form, and in turn will load faster when being browsed on the website.

    Here is an old implementation that Abjan have done before https://shots.jotform.com/jonathan/webtest/calculate_values_using_javascript.html

    If you put quantity/number for each type of "Bento" it will then calculate total.



    Would using the form's source code an option you can take?

    You already have the website and you can embed the form and add custom scripts. So, you actually have the requirements.

    We can assist you on the calculation code, you just have to provide us the formula and computation needed.

    I am sure my colleague Abajan will also update you later with his response.


  • Profile Image
    JotForm Support

    Answered by abajan on August 02, 2013 at 10:30 AM


    Upon examining the form's conditions more closely, I definitely agree with my colleague Jonathan's suggestion to embed the full source of the form and have a script do actual calculation. If you provide the pricing details we'll try our best to come up with the script.


  • Profile Image

    Answered by Tristanoreilly on August 08, 2013 at 07:54 PM

    Thankyou so much for you help, sorry for the late reply I have been out of the office for a week. The calculation has been done by another much more complex calculator we use. Basically we have created a spreadsheet with the outcomes of these calculations then we are just wanting to dispay the pricing for these and not actually do any calculations. Is there a way to do this that is much neater?


    Thanks Again 

  • Profile Image
    JotForm Support

    Answered by jonathan on August 08, 2013 at 08:45 PM


    If this is the case (calculation being done already), then, the only option indeed is to maximize everything on the form builder.

    On initial assessment, I think using the Radio option fields or the Purchase Order field can further shorten and simplify the form.

    Instead of the dropdown field, use the radio option field to some of the major field. When using the radio option, the options are already display on the page immediately and can be clicked to select the option.


    Use the Purchase order field found in the payment tools.
    You can add options in the Purchase Order field using this guide How-To-Add-Options-In-The-Payment-Form. Adding the custom property as the options on the sticker shape can probably work and shorten the form as well.

    I will try to apply my suggestions using your form to see how it may work.
    It may take me a while to complete this, but I will get back to you at once when I have it.
    Give me a day to attend to it.




  • Profile Image

    Answered by Tristanoreilly on August 08, 2013 at 09:27 PM

    Great Thankyou so much!

  • Profile Image

    Answered by Tristanoreilly on August 18, 2013 at 11:48 PM

    Just wondering how you went with the form, I haven't heard back from you guys yet?