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

    Conditions: Form not triggering calculation on initial load when using session links

    Asked by benbennett on February 23, 2016 at 10:20 AM
    there also seems to be a glitch that means that the field 89. 'total grant claim' stops performing the calculation of the previous 11 fields and reverts to 'Copy multiple field values' rather than calculate. I've tried putting this back to calculate but it never stays on calculate.
  • Profile Image
    JotForm Support

    Answered by Charlie on February 23, 2016 at 01:01 PM

    I was able to replicate the problem.

    Here's a sample session link that I have in my cloned form: https://form.jotform.com/60534533592961?session=bhills_8114@mailinator.com.

    The problem is that the condition to calculate the "Total grand claim" is based on the "Area" text box, it will only trigger the condition if it is filled out. The problem is that when the form is loaded on a session, it does not trigger that condition. 

    You need to move your mouse cursor and place it in your "Area" text box before the condition will be triggered. You can try it in your end, just place the mouse cursor in your "Area" text box and it will continue to start the calculation again.

    Here's a simple session form link that I have: https://form.jotform.com/60534994974976?session=bhills_9838@mailinator.com. Noticed that the calculation won't continue or work without placing the mouse cursor in my text box field.

    I have forwarded this to our developers to have it checked and fixed. Apologies for the inconvenience.

  • Profile Image
    JotForm Support

    Answered by Charlie on February 23, 2016 at 01:18 PM

    I have a possible workaround that you can implement while this is being investigated. Do you require the "Area" text box in your conditions? 

    Here's my cloned form with a session on it: https://form.jotform.com/60534533592961?session=bhills_4373@mailinator.com.

    Noticed that it calculates properly. This is the proposed workaround that I have:

    1. Instead of using conditions, we will use the form calculation widget.

    2. Here's my formula inside that widget:

    3. With that, the calculation is not dependent on a form field like the "Area" text box. It will calculate as long as there are input values on the budget form fields.

     

    However, please note that when you delete your current text box "Total grant claim", you will lose the data associated with it. Perhaps cloning a form with the version that I have and use that instead would be an alternative? So that you don't need to change anything on the current form that you have because it already has submissions on it.

  • Profile Image
    JotForm Support

    Answered by NicholasWestley on February 23, 2016 at 10:42 PM

    Hi,

    This has been fixed.  Calculation will work without having to focus on the condition term field when field values are loaded from a session. Please let us know if you continue to have problems.

    Regards,

    Nicholas