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

  • Profile Image
    bitcoins
    Asked on November 27, 2017 at 07: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?
  • Profile Image
    bitcoins
    Answered on November 27, 2017 at 08:12 AM
  • Profile Image
    amy
    Answered on November 27, 2017 at 08: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

    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.0

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

    Finally, set the condition as below:

    1511788333Screen_Shot_2017-11-27_at_16_1


  • Profile Image
    bitcoins
    Answered on December 02, 2017 at 01: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 #.

  • Profile Image
    TREVON
    Answered on December 02, 2017 at 07: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.png

    1512217202conditions 2.png

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

    https://www.jotform.com/73353056548965




  • Profile Image
    bitcoins
    Answered on December 02, 2017 at 01: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.

  • Profile Image
    liyam
    Answered on December 02, 2017 at 02:36 PM

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

    15122433702017-12-03_0335.png

    Thanks.

  • Profile Image
    bitcoins
    Answered on December 03, 2017 at 06:45 AM

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

  • Profile Image
    liyam
    Answered on December 03, 2017 at 08: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

    Thanks.

  • Profile Image
    bitcoins
    Answered on December 03, 2017 at 07:36 PM

    Thanks, that finally worked.