PDF Editing Issues

How to Add a Box Around Text and Fields in a PDF Form

Nimra MalikNimra Malik Nov 5, 2026 870 views

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.

How to Add a Box Around Text and Fields in a PDF Form
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 you start

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.

Solution 1Recommended

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.

1
Select the Square tool

Open your PDF form in Acrobat, navigate to the Commenting or Drawing markups menu, and select the 'Square' or 'Rectangle' tool.

2
Draw the box

Click and drag to draw the box around the desired text and interactive fields.

3
Make the box transparent

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.

4
Lock the shape

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.

5
Flatten the annotation (Optional)

For a more permanent solution, use the 'Flatten' feature to merge the shape directly into the base layer of the PDF document.

Use the Square Commenting Tool and Lock It
Tip: Ensure the edges of your drawn box do not overlap the clickable boundaries of the form fields, as this might prevent users from typing into them.
Easy PDF Form Editing

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. 1. Open your PDF: Launch WPS Office and open your PDF form document.
  2. 2. Access the shape tools: Navigate to the 'Insert' tab on the top ribbon and click on 'Shapes'.
  3. 3. Draw the rectangle: Select the Rectangle tool and draw a box around your text and form fields.
  4. 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. 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.
Directly insert rectangles, circles, and custom shapes into PDFsFully compatible with Adobe Acrobat PDF formats and formsLightweight, fast, and user-friendly interfaceEasily lock or flatten annotations to preserve your layout
microsoft office alternative - wps office

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.