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: Calculation widget that is conditionally set to hide resets its value during submission

    Asked by AthleteTrax2 on February 24, 2016 at 11:46 AM

    Please advise, I am not getting any help from reps and I need help asap.  My registration form is inconsistent. When clicking submit the first time it takes customers to a thank you page, when click submit on ame form the second time it takes to paypal,  WHY, need help asap

     

    I also need an options to pay by check  How?

     

    Url is below

    Page URL:
    http://www.premier1events.com/#!reg---mid-atlantic-super-showcase/ok0b<br/>k

  • Profile Image
    JotForm Support

    Answered by Charlie on February 24, 2016 at 02:50 PM

    There seems to be a problem on your form, there are error in your conditions and there seems to be conflicting ones or at least redundancy that might cause problems.

    Problem 1:

    There are some errors in your conditions, I strongly suggest fixing it

     

    Problem 2:

    You are hiding the calculation widget multiple times, causing the value to reset, when the value resets to "0", the submission continues to the "Thank You" page without redirecting the user to the Paypal payment gateway.

    To resolve the issue, please do not hide the calculation multiple times with conflicting conditions.

    How is it conflicting? Example:

    Condition #1: IF "How many teams are you registering?" is EMPTY then HIDE "Calculation".

    If condition #1 is TRUE then it will hide the "Calculation" field. However, if it is FALSE, meaning it is not empty then it will display "Calculation" field.

     

    Where is the conflict? The problem happens because you have another condition that conflicts with it. Here's one conflict:

    Condition #2: IF "How many teams are you registering?" is equal to "5" then HIDE "Calculation".

    The problem is that you want to hide "Calculation" when the certain text box field is empty, that means the opposite of it is to display it if it is filled out. However, you have a condition that hides it if it is filled out, which is condition #2. 

    You have other conditions that does the same, which means "Calculation" is being multiple times, causing problems.

     

    To resolve this, remove "Calculation" in multiple conditions, have a straight forward condition that only display or hide it on specific instances. Or you can set it by default to hidden and use a specific condition to display it on specific instances:

     

    To properly setup your form, I have cloned it and apply the suggestions I have. You can check my cloned form here: https://form.jotform.com/60545852162960. You can clone it to have a copy of it in your account. Here's a guide on how to clone it: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL.

    What I did is used form collapse fields to group the teams so that it's easier to show/hide them. Here's a guide that you can refer to: http://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool. Here's a preview of my conditions:

     

    I am not sure when do you want to display the "Calculation" field, in my case I have set it to hidden by default.

    Try implementing the suggestions above and see if you are still having problems regarding the form not redirecting to the Paypal payment gateway. I understand that this is quite long, so please do take time to read and understand it, if you have questions please do let us know here. I'll further investigate this and I see that there's a bug. Apologies.

  • Profile Image
    JotForm Support

    Answered by Charlie on February 24, 2016 at 03:12 PM

    I believe I have found the bug. The form calculation widget, resets its value when it is conditionally set to hide. You can make a test submission on this test form: https://form.jotform.com/60545995875979. Here's a screencast showing the problem:

    Noticed that during the submission, the payment total resets or changes back to "0", however, in my case it still continues to the payment gateway, I believe in your case, the value resets multiple times because you are hiding the form calculation widget multiple times.

    I have forward this to our developers to have it checked and investigated. However, I strongly advise checking the suggestions I previously posted and check how my cloned form is setup so that you can fix the current problems and functionality of your own form.

    Apologies for the inconvenience.

  • Profile Image

    Answered by AthleteTrax2 on February 25, 2016 at 01:31 AM

    It no longer is set to hide but still has the same issue.  Please advise

     

    http://www.premier1events.com/#!reg---mid-atlantic-super-showcase/ok0bk

  • Profile Image
    JotForm Support

    Answered by Boris on February 25, 2016 at 09:32 AM

    I have checked your form, and I see that the calculation is still conditionally set to be hidden.

    Your PayPal payment tool is taking its amount from the calculation field named "Total Team Fees Check":

    And your condition number 6 is still set to hide the "Total Team Fees Check" calculation if payment by credit card is selected:

    This is what my colleague mentioned above - when calculation is conditionally hidden, its value gets reset to zero upon submitting the form.

    My colleague has already raised this issue to our developers, but if you want to fix it on your end before a proper bug fix is issued, please make sure that you do not conditionally hide the calculation field which is forwarding its value to Paypal.

    I hope this helps.

  • Profile Image

    Answered by AthleteTrax2 on February 25, 2016 at 09:38 AM

    If I dont hide it, then when customers pay by credit card both total team fees check an total teem fees credit are displayed

     

    Please advise

     

    Thank you

  • Profile Image

    Answered by AthleteTrax2 on February 25, 2016 at 10:15 AM

    I believe there may be two support specialists working on this at same time

  • Profile Image
    JotForm Support

    Answered by Charlie on February 25, 2016 at 11:30 AM

    The concern regarding multiple payment method (Paypal and Credit card) is discussed on a different thread, which I believe should be here: http://www.jotform.com/answers/779992.

    There is indeed a problem on the form calculation widget where it resets when you use conditions to hide it, our developers are still currently looking at this issue and we will hear from them directly if this has been fixed. I strongly suggest checking the suggestions that we have regarding adding multiple payments on your form and redesign the workflow of your forms. We will update you on this thread as soon as the problem regarding the form calculation widget has been fixed. Apologies.

  • Profile Image
    JotForm Support

    Answered by NicholasWestley on February 26, 2016 at 03:39 AM

    Hi, If you don't want the conditionally hidden fields to be cleared during submission you can change your form preferences:

     

  • Profile Image

    Answered by AthleteTrax2 on February 26, 2016 at 09:44 AM

    Hi, I have all my registration pages working properly now except for one page. When I click pay by check then submit it goes to paypal. I cloned the form from another form that is working properly. How is it possible for one form to be working correctly and once cloned it doesnt work correctly?

     Form 1 below is the form that is working properly ,  Form 2 Below is not working properly

     

    Form 1-  http://www.premier1events.com/#!reg---mid-atlantic-super-showcase/ok0bk

    Form 2 -   http://www.premier1events.com/#!reg---east-coast-championships/zi4i4

  • Profile Image

    Answered by AthleteTrax2 on February 26, 2016 at 10:08 AM

    Ignore last request, I figured it out

     

    Thank you

  • Profile Image
    JotForm Support

    Answered by david on February 26, 2016 at 11:33 AM

    Glad to hear it!  If there is anything else we can assist you with, let us know and we will be happy to help.