PayPal total is not showing decimal places after getting the value from Form Calulation

  • arthurshurn
    Asked on July 21, 2015 at 12:20 PM

    On my form where the Pay Pal amount is displayed it does not show the last two digits.

    When I Enter $100.00 I get 100 in the display. I don't see where to make it larger.

  • Ben
    Replied on July 21, 2015 at 2:07 PM

    There are 2 reasons why you would not see decimal places properly:

    1. the size of the textbox
    2. the way the form calculation was set

    I have made modifications to both so this is how the clone of your form looks like: http://form.jotformpro.com/form/52015385404953

    To fix the size so that decimal places can be clearly shown, I added this CSS code:

    #input_79_donation {
        width: 140px;
    }

    I did it by following these steps: Inject Custom CSS Codes and by adding it to the very bottom (after all the other code) of the Custom CSS Code field.

    Now all we needed is to set it up so that Form Calculation is passing the .00 even if it is 00, otherwise, it would not and would only pass the value that is not a zero (.01, .02, etc) - by default.

    So what we need is to go into form calculation wizard and change advanced settings as so:

    PayPal total is not showing decimal places after getting the value from Form Calulation Image 1 Screenshot 20

    As soon as we checkmark the Show empty decimal places, it will pass the value to the PayPal integration with those .00 as well :)

    Do let us know how it goes and if you have any questions and we would be happy to assist with them.

  • arthurshurn
    Replied on July 31, 2015 at 2:22 PM

    Im trying to use this on another form I do not see the input number

    #input_79_donation {
        width: 140px;

    } 

    It is not the same for all forms ?

  • KadeJM
    Replied on July 31, 2015 at 3:30 PM

    You've asked a followup question that is different even though related so I've moved it over here

    We ask that you please keep your open threads to one question each.