Make PDF Initials Fields Mutually Exclusive in Adobe Acrobat
Question details
Make two PDF initials fields mutually exclusive so that only one can be filled.

- 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.
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.
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.
In Adobe Acrobat, open the PDF and select All tools > Prepare a form. Double-click Field1 to open its 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.
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;
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;
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.

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.

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.




