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.
Form Condition: Hiding a lot of FieldsAsked 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?
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?
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.
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
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)
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.
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.
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?
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.
Great Thankyou so much!
Just wondering how you went with the form, I haven't heard back from you guys yet?