JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Display trailing zeros in PayPal Total - RESOLVEDAsked 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.
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.
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
Tried the above and it didn't work. Please advise for future ref.
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:
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.
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,
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.