How do I set the field as it doesn't go below zero amount?

  • bitcoins
    Asked on November 27, 2017 at 7:48 AM
    I have one more question.  My field called "Remaining Amount to Pay with Bitcoin", how do I set it up so that this field does not go below zero amount?
  • bitcoins
    Replied on November 27, 2017 at 8:12 AM
  • amy
    Replied on November 27, 2017 at 8:12 AM

    You are able to set entry limits by using the "Number" element. After you add the "Number" element, please go to element properties and click on the "Options" tab. Then set the limit entry for the element. 

    1511787593Screen Shot 2017 11 27 at 15 5 Screenshot 10

    To pass values from this element to another element, please check out these user guides: 

    How to Insert Text or Calculation into a Field Using Conditional Logic

    How to Pass a Calculation to a Payment Field

    We have also another way without changing the current layout of the form. When the entry is equal to 0 for this field, we are able to hide the submit button with conditional logic. 

    Please right-click on the field(Remaining Amount to Pay with Bitcoin) and click on the "Conditional Logic" option. 

    1511788190Screen Shot 2017 11 27 at 16 Screenshot 21

    Create a new condition with this option: Show / Hide Field

    Finally, set the condition as below:

    1511788333Screen Shot 2017 11 27 at 16 1 Screenshot 32


  • bitcoins
    Replied on December 2, 2017 at 1:18 AM

    How do I set my field "You need to send us exactly this amount in bitcoin to the Bitcoin Wallet Address below." to display zero if the the calculation result is less than zero?  I don't want to display a negative #.

  • TREVON
    Replied on December 2, 2017 at 7:20 AM

    I have created a clone of your form that accepts only numbers above zero. It does recalculation if amount is less than Zero.

    I have created a field that copies content from "You need to send us exactly this amount in bitcoin to the Bitcoin Wallet Address below." field only if its greater than -1 then  also anothe condition that checks if "You need to send us exactly this amount in bitcoin to the Bitcoin Wallet Address below." less than zero it returns zero

    1512217136Condition 1 Screenshot 10

    1512217202conditions 2 Screenshot 21

    Below is the clone form kindly feel free to test clone and use the form.

    https://www.jotform.com/73353056548965




  • bitcoins
    Replied on December 2, 2017 at 1:00 PM

    I set up the 2 conditions above as you instructed into my form but field #15 still does not display zero (0), it displays blank.  Can you please check my form and fix the problem.  I would appreciate it.

  • liyam
    Replied on December 2, 2017 at 2:36 PM

    Can you add this condition to your form and let us know if this works or not:

    15122433702017 12 03 0335 Screenshot 10

    Thanks.

  • bitcoins
    Replied on December 3, 2017 at 6:45 AM

    I added the above condition but field #15 still shows blank.

  • liyam
    Replied on December 3, 2017 at 8:42 AM

    Thanks for the response, and my apologies for the confusion. Please try to set a default value of zero for the field instead by opening the field's Properties > General, then enter 0 for Default value.

    1512308468form calculation widget   defa Screenshot 10

    Thanks.

  • bitcoins
    Replied on December 3, 2017 at 7:36 PM

    Thanks, that finally worked.