How to Add a Box Around Text and Fields in a PDF Form
Question details
The user needs to draw a permanent border or box around specific text and fillable fields in a PDF form without interfering with the form's interactive elements.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Modifying a PDF form layout to group or highlight specific text and fillable fields using a rectangular box.
- Observed behavior
- Using standard comment annotations can result in the box overlapping interactive fields, blocking user input, or moving independently from the rest of the form elements.
Before making structural layout changes to your PDF form, ensure you save a backup copy of the original file and verify that all interactive fields are properly aligned.
Use the Square Commenting Tool and Lock It
Draw a box using the built-in shape tools and lock or flatten it to prevent accidental movement and interference with form fields.
The quickest way to add a border around existing elements directly in a PDF is by using the Square tool. To prevent the shape from shifting when users fill out the form, it must be locked or flattened.
Open your PDF form in Acrobat, navigate to the Commenting or Drawing markups menu, and select the 'Square' or 'Rectangle' tool.
Click and drag to draw the box around the desired text and interactive fields.
Right-click the drawn square, go to 'Properties', and change the 'Fill Color' to 'Transparent' or 'No Color' so it does not hide the text and fields beneath it.
Right-click the square again and select 'Lock'. This fixes its position on the page so users cannot accidentally move it while filling out the form.
For a more permanent solution, use the 'Flatten' feature to merge the shape directly into the base layer of the PDF document.

Update the Source Document and Replace Pages
For a permanent and robust layout, add the box in the original authoring program (like Microsoft Word) and update the PDF background.
Export the PDF to Word and Rebuild
If you do not have the original source file, export the PDF to Word to add your formatting, then rebuild the PDF.
Easily Edit PDF Forms and Add Shapes with WPS PDF
WPS Office provides a comprehensive PDF editor that allows you to easily insert shapes, add text boxes, and manage PDF form fields without complex workarounds or compatibility issues.
- 1. Open your PDF: Launch WPS Office and open your PDF form document.
- 2. Access the shape tools: Navigate to the 'Insert' tab on the top ribbon and click on 'Shapes'.
- 3. Draw the rectangle: Select the Rectangle tool and draw a box around your text and form fields.
- 4. Adjust shape properties: Click on the shape, set the 'Fill Color' to 'No Fill', and adjust the border color and thickness as needed.
- 5. Save your document: Save the PDF to lock in the layout changes. The box will act as a perfect border without blocking input fields.

Frequently Asked Questions
Why does my newly added box block users from clicking the form fields?
If the rectangular shape has a solid fill color, it will cover the interactive fields beneath it. Ensure you set the shape's fill property to 'Transparent' or 'No Fill' and verify that the shape's borders do not overlap the clickable boundaries of the form fields.
What is the difference between locking and flattening a shape in a PDF?
Locking a shape prevents it from being dragged, resized, or deleted accidentally during normal viewing, but it remains a separate annotation layer. Flattening permanently merges the shape into the PDF's base content layer, making it completely uneditable and a permanent part of the document background.
Can I group text and form fields together inside a single box?
Yes, you can draw a large rectangular shape around both the text and the form fields to visually group them. Just ensure the shape is sent to the back or has a transparent fill so it serves as a visual border without obscuring the content or preventing text input.




