Adding a degree symbol automatically in a PDF form field

Building a fillable PDF in Acrobat where people type an angle like 180. I want the degree symbol to show after the number without them typing it. Is that doable with the field format options or does it need a script?
1

Leave A Reply

Log in to post an answer.

1 Answer

ravir Oct 21, 2026
devh
You'll need Acrobat (not the free Reader) to edit the field. Prepare Form, double click the field, Format tab, choose Custom, then add a custom format script: if (event.value !== "") event.value = event.value + "°"; That only changes what's displayed, so the stored value stays a plain number, which is what you want if anything calculates from it. The built-in Number format has no option for a suffix like that, that's why it has to be a script.