PDF Editing Issues

Make PDF Initials Fields Mutually Exclusive in Adobe Acrobat

Anum MushtaqAnum Mushtaq Nov 19, 2026 868 views

Question details

Make two PDF initials fields mutually exclusive so that only one can be filled.

Make PDF Initials Fields Mutually Exclusive in Adobe Acrobat
Product
Adobe Acrobat PDF forms
Device & OS
not provided
Scenario
A PDF form has two initials fields, and the recipient should complete one or the other.
Observed behavior
Entering initials in either field should prevent entry in the other while satisfying the form's requirement for an initials entry.
Before you start

Open the PDF in Adobe Acrobat and check the exact names of both text fields in the form editor. Start with both fields empty and editable; the scripts below use Field1 and Field2 as example names.

Solution 1Recommended

Use validation scripts to lock the other initials field

Use this method when one initials field should become read-only and no longer required after the other is filled.

Each validation script updates the other field when the current field is committed, typically when the user leaves it. When the current field is cleared, the other field becomes editable and required again.

1
Open the form editor

In Adobe Acrobat, open the PDF and select All tools > Prepare a form. Double-click Field1 to open its properties.

2
Set the initial field properties

On the General tab for each field, select Required and make sure Read Only is not selected. Check that both fields are empty before testing.

3
Add the first validation script

In Field1 Properties, open Validate, select Run custom validation script, and click Edit. Enter: var other = this.getField("Field2"); var filled = String(event.value) !== ""; other.readonly = filled; other.required = !filled;

4
Add the second validation script

Open Field2 Properties > Validate > Run custom validation script > Edit. Enter: var other = this.getField("Field1"); var filled = String(event.value) !== ""; other.readonly = filled; other.required = !filled;

5
Save and test the form

Save the PDF, exit form editing, and enter initials in Field1. Click outside the field and confirm Field2 is read-only. Clear Field1 and repeat the test in the opposite direction.

Use validation scripts to lock the other initials field
Check PDF viewer support: The recipient's PDF viewer must support and allow Acrobat form JavaScript. Test the saved form in the viewer recipients will use; browser and mobile PDF viewers may behave differently.
Free Microsoft Office alternative

Work with PDF and Office files in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface for working with documents, spreadsheets, presentations, and PDFs. It supports common Microsoft Office formats for easier migration, but it does not replace Acrobat's form JavaScript setup.

Open and work with PDF documents alongside Office filesCompatible with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface to ease the move from Microsoft OfficeAccess core Office tools for free in a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

Why change the Required property as well as making a field read-only?

If both fields remain required, the form may still ask for the locked field. The validation script sets the other field's required property to false when initials are entered and restores it when the entry is cleared.

What if my fields are not named Field1 and Field2?

In Acrobat's Prepare a form tool, check each field's name in its properties. Replace Field2 in the first script and Field1 in the second script with the exact name of the opposite field.

When does the other field become read-only?

The custom validation script runs when the current value is committed, typically after the user clicks or tabs out of the field. Test both directions after saving the form.

Will the scripts work in every PDF viewer?

No. The viewer must support and allow Acrobat form JavaScript. Open the saved PDF in the viewer intended for recipients and test entry, clearing, and required-field behavior.