PDF Editing Issues

Format a Height Input as Feet and Inches in Adobe Acrobat

Tauseeq MagsiTauseeq Magsi Nov 19, 2026 868 views

Question details

Format a numeric height entry such as 509 as 5' 09" in a PDF form without using drop-down fields.

Format a Height Input as Feet and Inches in Adobe Acrobat
Product
Adobe Acrobat
Device & OS
not provided
Scenario
A PDF form uses a text field to collect a three-digit height in feet and inches.
Observed behavior
The desired display is a formatted height with a foot mark, a space, two inch digits, and an inch mark.
Before you start

Open the PDF in Adobe Acrobat and confirm that you can edit its form fields. Identify the text field that will receive the three-digit height input.

Solution 1Recommended

Apply a height format mask to the text field

Use an arbitrary mask to add foot and inch marks without creating drop-down fields.

1
Open the form editor

In Acrobat, open the PDF and select All tools > Prepare a form.

2
Open field properties

Double-click the height text field, or add a text field and then open its Properties.

3
Set the mask

On the Format tab, choose Special, select Arbitrary Mask, and enter 9' 99" as the mask. The 9 characters represent digits.

4
Test the entry

Close Properties, select Preview, and enter 509 in the field. Check that it displays as 5' 09".

Apply a height format mask to the text field
Spacing and validation: The mask 9'99" omits the space and displays 509 as 5'09". A mask controls the pattern but does not necessarily validate whether the inch value is below 12.
Free Microsoft Office alternative

Work with PDFs and Office documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and support for common Office formats, making it easy to move documents between applications. Use its PDF tools for everyday document work; the Acrobat-specific form mask above must be configured in Acrobat.

Open and work with PDFs alongside other documentsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for a smooth transition from Microsoft OfficeFree, lightweight tools for everyday office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Can I format the height without a drop-down field?

Yes. In Acrobat's Prepare a form tool, open a text field's Properties and set an arbitrary mask on the Format tab.

How do I include a space between the feet and inches?

Enter 9' 99" as the arbitrary mask. The space after the foot mark is part of the displayed format.

Does the mask prevent someone from entering 5 feet 99 inches?

Not necessarily. The mask sets the digit pattern and punctuation; use separate validation if inches must be between 00 and 11.

Where do I add a custom format script in Acrobat?

In Prepare a form, open the text field's Properties, select the Format tab, choose Custom, and open the Custom Format Script editor.