How to Align Currency Symbols and Decimal Points in PDF Form Fields
Question details
The user wants to align currency symbols on the left and decimal points on the right in a column of PDF form fields, similar to Excel's Accounting format.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Designing a financial or accounting PDF form with formatted amount fields.
- Observed behavior
- Standard formatting only allows basic right, left, or center alignment for the entire value, making it difficult to split the currency symbol and decimal point alignment as seen in Excel.
Before modifying your PDF fields, determine whether your form will be viewed in basic browsers or dedicated PDF readers, as complex scripts may not be universally supported.
Create Separate Fields for Currency Symbols and Amounts
The most reliable and compatible workaround is to use two separate form fields: one for the currency symbol and one for the numerical amount.
Since the standard PDF specification lacks an 'Accounting' alignment feature that splits characters within a single field, using separate layout elements ensures the form looks perfectly aligned across all PDF viewers.
Add a read-only text field on the left side of your column and enter your desired currency symbol (e.g., '$'). Set its alignment to 'Left'.
Add a second text field directly next to the currency symbol field to act as the numerical value input area.
Open the properties of the numerical field, navigate to the 'Options' tab, and set its alignment to 'Right'.
Go to the 'Format' tab for the amount field, select 'Number', and configure your desired decimal places. Do not add a currency symbol here, as it is handled by the first field.

Use Built-in Right Alignment
If exact accounting formatting is not strictly necessary, standard right-alignment is the simplest built-in option.
Apply Custom JavaScript for Advanced Formatting
Use a custom formatting script if you require exact accounting alignment within a single field and possess coding knowledge.
Design and Format PDF Forms Easily with WPS Office
WPS Office provides a comprehensive PDF toolkit that allows you to intuitively create, align, and format interactive form fields, ensuring your financial documents look professional with minimal effort.
- 1. Open your PDF: Launch WPS Office and open your PDF document. Navigate to the 'Form' tab on the top ribbon.
- 2. Add form fields: Click on 'Text Field' to draw new input areas for your currency symbols and amounts.
- 3. Adjust alignment: Right-click the inserted field, select 'Properties', and adjust the alignment to 'Right' or 'Left' under the Options tab.
- 4. Save changes: Save your document to finalize the layout and preserve the interactive form formatting.

Frequently Asked Questions
Can I apply Excel's Accounting format directly in PDF forms?
No, standard PDF specifications do not include a built-in 'Accounting' format that automatically splits currency symbols to the left and decimals to the right within a single field. You must use workarounds like separate form fields.
Why don't my decimal points align when I center my text in a PDF field?
Centering text aligns the entire string based on its total width rather than the decimal point. To align decimal points correctly, you must right-align the numbers and ensure all fields have a consistent number of decimal places (e.g., always two).
Will custom JavaScript formatting work on all PDF readers?
Not necessarily. Custom JavaScript may fail to execute on mobile PDF viewers, Apple Preview, or standard web browser PDF plugins. Using separate static fields for currency and amounts is a much more universally compatible solution.




