How can I format for currency and width in calculated fields?

  • Profile Image
    TempleBethShira
    Asked on August 18, 2025 at 10:27 PM

    Two questions:


    1. How can I get my Calculations to appear as Currency, and 2
    2. How can I make my Donation field wider than 5 spaces? The other fields allow me to set the number of spaces (which I have set to 20 on the others, because it looks better). But I cannot find where I can change the width of the field under Donations.


    Thank you


  • Profile Image
    TempleBethShira
    Replied on August 18, 2025 at 10:50 PM

    Also, how can I get the total amount to be the Donation amount that is passed on to PayPal?

  • Profile Image
    Lorenz JotForm Support
    Replied on August 18, 2025 at 11:18 PM

    Hi Daniel,

    Thanks for reaching out to us for help. I assume you want to replace the currency in text, as currency sign instead, right? If so, then we can use Custom CSS code to achieve that. Let me walk you through it:

    1. First, copy this code:

    span.donation_currency:before {
    content: '$';
    margin-left: 8px;
    font-size: 16px;
    visibility: visible;
    }
    span.donation_currency {
    visibility: hidden;
    }

    2. In Form Builder, click on the Paint Roller icon on the right side of the page to open Form Designer.

    3. Now, in the Form Designer menu, click on the Styles tab, scroll down and paste the code into the Inject CSS Code box. That’s it. The code is automatically saved.

    How can I format for currency and width in calculated fields? Image 1 Screenshot 20

    As for your other question, I moved it to a separate thread to keep things tidy, and someone from our Support Team will help you out with it here.

    Let us know if there's anything else we can help you with.