Need help with calculation field

  • impact100baldwincounty
    Asked on August 29, 2017 at 8:31 AM

    I have two form calculation fields on my form (Credit Card/Paypal payment form). The first (processing fee) calculates a percent of another field. The calculation works, but the user is able to edit or delete the amount which I don't want to happen. The second calculation field sums three fields. This calculation also works and the user is NOT able to edit the field - which is what I want. What am I doing wrong? 

  • Marvih
    Replied on August 29, 2017 at 9:37 AM

    I have cloned your form then added a "short text entry" field. Then I added a condition to pass the calculation value to that text field. I set the text field entry to hidden and hide the calculation field.

    https://form.jotformpro.com/72403745705960 - You may clone this if you want.

     

    Need help with calculation field Image 1 Screenshot 30

     

    Need help with calculation field Image 2 Screenshot 41

  • impact100baldwincounty
    Replied on August 29, 2017 at 11:33 AM

    Thank you for your response. I have a couple more questions:

    1.How do I clone your form and have it appear in my account?
    2. I originally had a field that used conditions to calculate the value, (which I renamed “old processing fee” so I wouldn’t lose data) but it could be modified. So I added the new one. I now see that I can make the original field "read only" which accomplishes what I want and seems simpler than your solution. Is there any reason not to do that?
    3. I still don’t understand why my “Total” calculation field isn’t modifiable if the “online processing fee” which was also used the field calculation widget was???
    4. If I reply to your email from my email, my response does not seem to appear in this thread. Should I always respond from your website?
     
    Thanks for you help.
  • impact100baldwincounty
    Replied on August 29, 2017 at 11:43 AM
    Thank you for your response. I have a couple more questions:
    1.How do I clone your form and have it appear in my account?
    2. I originally had a field that used conditions to calculate the value, (which I renamed “old processing fee” so I wouldn’t lose data) but it could be modified. So I added the new one. I now see that I can make the original field "read only" which accomplishes what I want and seems simpler than your solution. Is there any reason not to do that?
    3. I still don’t understand why my “Total” calculation field isn’t modifiable if the “online processing fee” which was also used the field calculation widget was???
    Thanks for you help.
    ...
  • Marvih
    Replied on August 29, 2017 at 11:56 AM

    1.To clone a form kindly follow this guide https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

     

    2. Yes you can you use that. I just didn't use that since you have already added a new calculation field ( lazy to rename) lol.

    3. It is because "Total" field is a "calculation widget" which in other words not an input field. Need help with calculation field Image 1 Screenshot 30

    While the "processing fee" field is a "Short Text Entry" widget which can accept input.Need help with calculation field Image 2 Screenshot 41