PDF Editing Issues

How to Auto-Populate Name Fields and Manage Multiple Signatures in PDFs

Algirdas JasaitisAlgirdas Jasaitis Nov 10, 2026 868 views

Question details

The user needs to combine separate first and last name fields into a single participant name field and configure multiple sequential signatures for different roles in a PDF form.

How to Auto-Populate Name Fields and Manage Multiple Signatures in PDFs
Product
PDF Forms
Device & OS
not provided
Scenario
Creating a multi-party PDF form that requires automated field population and sequential signatures from clients, representatives, and staff members.
Observed behavior
The user wants the full name to auto-populate from separate fields and needs a structured way to route the document for multiple signatures without locking the file prematurely.
Before you start

Ensure you have the exact field names for the First Name and Last Name text boxes before applying the calculation script, as form scripts are strictly case-sensitive.

Solution 1Recommended

Use Custom Calculation Scripts to Auto-Populate Full Name Fields

Apply a custom JavaScript calculation to automatically combine the first and last name text fields into a single full name field.

By setting up a calculation script, you can eliminate redundant data entry. Whenever the participant updates their first or last name, the full name field will dynamically reflect the changes.

1
Access Field Properties

Open your PDF form in edit mode and right-click on the target 'Participant Name' text field to access its Properties.

2
Select Custom Scripting

Navigate to the 'Calculate' tab in the Properties window and select the option for 'Custom calculation script'.

3
Input the Calculation Script

Click the 'Edit' button and enter the following script: event.value = this.getField("First_Name").valueAsString + " " + this.getField("Last_Name").valueAsString; (ensure the field names match your form exactly).

4
Test the Output

Close the properties dialog and test the form by typing into the First Name and Last Name fields to verify they populate the participant field.

Use Custom Calculation Scripts to Auto-Populate Full Name Fields

Easily Fill Forms and Add Signatures with WPS Office

WPS Office provides a comprehensive PDF toolkit that lets you effortlessly fill out interactive forms, add multiple electronic signatures, and share documents securely without complex scripting.

  1. 1. Open PDF in WPS Office: Launch WPS Office and open your interactive PDF form.
  2. 2. Access Fill & Sign Tools: Navigate to the 'Fill & Sign' tab located on the top ribbon.
  3. 3. Create Your Signature: Click 'Create Signature' to draw, type, or upload an image of your signature.
  4. 4. Apply Multiple Signatures: Click on the designated signature fields to apply signatures sequentially, then save the completed document.
Fully compatible with standard Adobe PDF forms and signature fields.Easily insert, manage, and request multiple electronic signatures.Lightweight, fast, and completely free to use for basic PDF reading and filling.Cross-platform support for Windows, Mac, iOS, and Android devices.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my PDF locking after the first person signs it?

Standard digital certificates automatically lock the document to prevent tampering after a signature is applied. To allow multiple signatures, you must use an enterprise e-signature workflow or configure the first signature properties to not lock the document.

Why isn't the calculation script updating the name field?

Ensure that the field names in your script (e.g., "First_Name" and "Last_Name") exactly match the actual names of the text fields in your form. JavaScript is strictly case-sensitive.

Can I collect multiple signatures without using an expensive e-signature service?

Yes, you can manually route the PDF via email and have each person apply a standard electronic signature (like an image or typed name) instead of a cryptographic digital certificate, which avoids premature document locking.

How do I format the space between the first and last name in the script?

In the custom calculation script, you concatenate a space by adding + " " + between the first name and last name field string values.