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

    Why is the calculated field "Kosten, Totaal :"reset to zero after pushing the "Betalen met IDEAL"button

    Asked by kwvl on July 06, 2014 at 02:25 PM

    Until yesterday everything was working fine.

     

    I use the "Kosten, Totaal:" field to redirect to my php file.

     

    Can you help me

    Jan

    Page URL:
    http://home.solcon.nl/jhthspijkerman/inschrijven.htm

    calculation widget calculation value
  • Profile Image

    Answered by kwvl on July 06, 2014 at 03:45 PM

    I just found out :

    I have three calculate fields on read only. Then its going wrong.

    If i push the send button "Betalen met IDEAL" Jotform makes Kosten, Totaal : zero

    If i make two fields NOT read only then it's going OK!

    Is that a bug?

     

    Jan

  • Profile Image
    JotForm Support

    Answered by jonathan on July 06, 2014 at 06:30 PM

    Hi Jan,

    I checked your form http://www.jotformeu.com/form/41851915919363 and the calculation for the  Total. 

    I noted that there is missing Calculation Value in the drop-down field "Klasse" which was to be used in the calculation fields

     

    since the calculation fields do not have calculated values, the default value is only zero(0)

    so when you add the 2 calculation field (that only have 0 value), the total is just zero then

     

    Please review this user guide also How-to-perform-calculation-in-the-form

    Inform us if you need further assistance.

    Thanks!

     

     

     

     

     

  • Profile Image

    Answered by kwvl on July 07, 2014 at 03:04 PM
    Hi, now the problem is back again.
     
    The situation is a little bit different.
     
    When i fill in the form i use a forwarder to put a number in the field "Inschijfkosten" and also a forwarder to put in a value in "Kraankosten"
     
    In "Kosten totaal" Jotform caculates the sum of "Kraankosten" and "Inschrijfkosten"
     
    this is working ok, but when i push the send "Betalen met IDEAL" button the value "Kosten totaal" changes to zero! (also the field in "Kraankosten" and "Inschijfkosten")
     
    I like to have the field "Kraankosten" read only and also the field "Inschrijfkosten" so users can not change that field.
     
    If i change the read only status in read/write on "Kraankosten" and "Inschrijfkosten" and i push the send button the value in "Kosten totaal" is not changing in zero!
     
    Then i can use the value in "Kosten totaal" to redirect to my pay-routine.
     
    Do you have a solution?
     

     

    Jan
  • Profile Image
    JotForm Support

    Answered by jonathan on July 07, 2014 at 04:32 PM

    Hi Jan,

    I assume we are still referring to this form http://www.jotformeu.com/form/41851915919363

    I was able to determine the problem this time. It seems that there is a glitch with the Calculation Widget that resets the value every time it does the calculation.

    I will check on this further to see if I can give you a workaround solution. I will get back to you quickly.

    Thank.

  • Profile Image
    JotForm Support

    Answered by jonathan on July 07, 2014 at 04:56 PM

    Hi again Jan,

    I was able to find a solution.

    The problem with your calculation method is, you were using an empty calculation field for "Inschijfkosten" and  "Kraankosten" . This is why the Total calculation is reset to zero(0).

    To fixed this, I suggest you replaced those 2 calculation widget with a regular TEXT BOX field instead.  

     

    Here is demo form http://www.jotform.me/form/41876140897466  that you can try to see how it works. 

    Hope this help. Inform us if you need further assistance on this.

    Thanks!

     

     

     

  • Profile Image

    Answered by kwvl on July 08, 2014 at 12:28 PM
    Jonathan
     
    How did you make this text-fields Kraankosten and Inschrijfkosten read only?
     

     

    jan
  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 08, 2014 at 01:38 PM

    Hello Jan,

    You can make any text box as read only fields by going to your fields property and then change the "Read Only" property value to "Yes". Please check the screenshot below:

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!