How to Auto-Populate Name Fields and Manage Multiple Signatures in PDFs
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.

- 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.
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.
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.
Open your PDF form in edit mode and right-click on the target 'Participant Name' text field to access its Properties.
Navigate to the 'Calculate' tab in the Properties window and select the option for 'Custom 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).
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.

Configure Multiple Signatures and Routing Workflow
Set up a structured signature workflow to prevent the PDF from locking before all parties have signed.
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. Open PDF in WPS Office: Launch WPS Office and open your interactive PDF form.
- 2. Access Fill & Sign Tools: Navigate to the 'Fill & Sign' tab located on the top ribbon.
- 3. Create Your Signature: Click 'Create Signature' to draw, type, or upload an image of your signature.
- 4. Apply Multiple Signatures: Click on the designated signature fields to apply signatures sequentially, then save the completed document.

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.




