-
AA_CAsked on April 5, 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
-
Chriistian Jotform SupportReplied on April 6, 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. -
AA_CReplied on April 6, 2016 at 9: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.
-
CharlieReplied on April 6, 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.
-
AA_CReplied on April 6, 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)
-
CharlieReplied on April 6, 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.