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

    Display trailing zeros in PayPal Total - RESOLVED

    Asked by AA_C on April 05, 2016 at 10:07 PM

    How do I get the trailing zeros ($15.00) in the PayPal total window and a leading $.

    Form in question: 53297495897984

    Two of the values are 7.5 so should read $7.50

    I tried looking for a previous thread about this and found none. I probably asked the wrong question.

    Thank you,

    Robert

    paypal total in and thank
  • Profile Image
    JotForm Support

    Answered by Chriistian on April 06, 2016 at 12:16 AM

    Instead of using conditions to pass the value of the member/non-member options to the calculation field, you can instead add the field directly in the calculation field so that it will get the exact value.

    1. Remove the condition for the calculation field

    2. Add the fields to the calculation area. Check the advanced options to make sure that the decimal places are shown.

    The result should now display the full value as seen below.

    If you need further assistance, please let us know.
    Regards.

  • Profile Image

    Answered by AA_C on April 06, 2016 at 09:39 AM

    THANK YOU. WORKS PERFECTLY 

    As you can see I have injected a $ sign with css code. If I wanted it inside the total Price box would I just add it into the calculation widget like this.

    $ input_35 $ input_36

     

    ROBERT

    (later)

    Tried the above and it didn't work. Please advise for future ref.

  • Profile Image
    JotForm Support

    Answered by Charlie on April 06, 2016 at 10:51 AM

    May I know where you would like to display the "$" sign? If it is just for aesthetic purposes, the CSS code would be the best way.

    We cannot pass non-numeric values in the "Total Price" in the payment integration, it should only be a number value (comma and decimal point are excluded). This is why the currency option is shown in the options:

     

    Currently, the only way to add a currency sign is through CSS. 

    Or, you can hide the payment integration's total price value using CSS code and display the "Calculation" widget instead. The calculation widget allows you to add non-numeric characters so you can display the "$" sign in the actual text box. Here's a sample form: https://form.jotform.com/60964230425957 

     

    Here's the CSS code to hide the Paypal total price:

    [data-type="control_paypal"] {

        display: none !important;

    We are not removing the functionality of the payment integration, we are just hiding it. However, if you need to edit something in your payment integration, you'll need to remove the CSS code temporarily.

    Let us know if that works.

  • Profile Image

    Answered by AA_C on April 06, 2016 at 10:57 AM

    Hi Charlie,

    I thank you for the very detailed explanation. I will keep this in mind.

    I will just use my css code for this one.

    Thank you, Best regards,

    Robert

    (case closed)

  • Profile Image
    JotForm Support

    Answered by Charlie on April 06, 2016 at 11:21 AM

    You are welcome :)

    Should you need more assistance on this or if you have other concerns, please do not hesitate to visit us here in the forum. Thank you.