Merge Fields
Dynamic content in documents
Merge Fields
Merge fields allow you to pre-fill documents with dynamic content, perfect for personalized documents, form filling, and mail merge campaigns.
Merge fields save time by automatically filling in information like names, amounts, dates, and more - no manual typing required!
What Are Merge Fields?
Merge fields are special fields that can be pre-filled with data:
Key Features:
- Pre-filled with data before signing
- Can be filled from CSV (campaigns) or manually (single documents)
- Read-only for signers (cannot edit)
- Named with labels for easy identification
- Support multiple data types
Benefits:
- ✅ Save time (no manual data entry)
- ✅ Reduce errors (data from source)
- ✅ Personalize documents at scale
- ✅ Consistent formatting
- ✅ Perfect for mail merge
Merge Field Types
SignNXT supports various merge field types:
Text Fields
merge_text - Multi-line text
- Student names
- Addresses
- Descriptions
- Comments
merge_textarea - Large text areas
- Long descriptions
- Terms and conditions
- Notes
Number Fields
merge_number - Numeric values
- Amounts
- Quantities
- Scores
- IDs
Date Fields
merge_date - Date values
- Birth dates
- Start dates
- Expiry dates
- Event dates
Format: Displayed in UK format (22 Nov 2025)
Contact Fields
merge_email - Email addresses
- Contact emails
- Notification emails
- Reply-to addresses
merge_phone - Phone numbers
- Contact numbers
- Emergency contacts
- Business phones
merge_url - Website URLs
- Company websites
- Social media links
- Reference links
Selection Fields
merge_checkbox - Checkboxes
- Yes/No options
- Consent checkboxes
- Feature selections
- Pre-checked options
merge_dropdown - Dropdown selections
- Pre-selected options
- Category selections
- Status values
All merge fields are pre-filled and read-only for signers. They can see the values but cannot change them.
Creating Merge Fields in Templates
Step 1: Create Template
Create a new template and upload your PDF.
Step 2: Select Merge Field Type
In the fields drawer, choose a merge field type:
- Merge Text
- Merge Number
- Merge Date
- Merge Email
- Merge Phone
- Merge Checkbox
- Merge Dropdown
Step 3: Place Field on PDF
Drag the merge field onto the PDF where you want the data to appear.
Step 4: Set Field Label
Give the field a meaningful label:
- "StudentName"
- "Amount"
- "StartDate"
- "Email"
Important: This label will be used to map CSV columns or manual entry.
Step 5: Configure Field
Set field properties:
- Required (yes/no)
- Sample value (for preview)
- Size and position
Step 6: Repeat for All Fields
Add all merge fields needed for your template.
Use clear, descriptive labels like "StudentName" or "InvoiceAmount" to make CSV mapping easier later.
Using Merge Fields in Single Documents
When you use a template with merge fields for a single document:
Step 1: Select Template
Choose "Use Template" and select your template with merge fields.
Step 2: Map Signers to Roles
Assign signers to each role as usual.
Step 3: Fill Merge Fields
A "Pre-fill Fields" section appears showing all merge fields:
- Field label
- Field type
- Input box for value
Step 4: Enter Values
Manually enter values for each merge field:
- StudentName: "John Smith"
- Amount: "1500"
- StartDate: "2025-01-15"
Step 5: Create Document
Click "Create Document" - merge fields are pre-filled with your values.
Step 6: Send Document
Send the document - signers see pre-filled values (read-only).
Using Merge Fields in Campaigns
For mail merge campaigns, merge fields are filled from CSV:
Step 1: Prepare CSV File
Create CSV with columns matching your merge field labels:
StudentName,Amount,StartDate,Email
John Smith,1500,2025-01-15,john@example.com
Jane Doe,2000,2025-01-20,jane@example.com
Bob Johnson,1800,2025-01-18,bob@example.com
Step 2: Create Campaign
Go to Campaigns → New Campaign → Select template with merge fields.
Step 3: Upload CSV
Upload your CSV file in Step 1 of the campaign wizard.
Step 4: Map Columns
In Step 2, map CSV columns to merge fields:
- "StudentName" column → StudentName field
- "Amount" column → Amount field
- "StartDate" column → StartDate field
Step 5: Review & Send
Review the mapping and send - each document is created with pre-filled merge fields from CSV.
Campaigns automatically fill merge fields from CSV data - perfect for sending personalized documents to hundreds or thousands of recipients!
Merge Field Examples
Example 1: Student Enrollment Form
Merge Fields:
- StudentName (merge_text)
- DateOfBirth (merge_date)
- ParentEmail (merge_email)
- ParentPhone (merge_phone)
- Grade (merge_number)
- HasAllergies (merge_checkbox)
CSV:
StudentName,DateOfBirth,ParentEmail,ParentPhone,Grade,HasAllergies
John Smith,2010-05-15,parent@example.com,555-1234,5,Yes
Example 2: Invoice
Merge Fields:
- ClientName (merge_text)
- InvoiceNumber (merge_number)
- InvoiceDate (merge_date)
- Amount (merge_number)
- DueDate (merge_date)
- ClientEmail (merge_email)
CSV:
ClientName,InvoiceNumber,InvoiceDate,Amount,DueDate,ClientEmail
Acme Corp,1001,2025-01-15,5000,2025-02-15,billing@acme.com
Example 3: Employee Onboarding
Merge Fields:
- EmployeeName (merge_text)
- Position (merge_text)
- StartDate (merge_date)
- Salary (merge_number)
- Department (merge_text)
- EmployeeEmail (merge_email)
CSV:
EmployeeName,Position,StartDate,Salary,Department,EmployeeEmail
Jane Doe,Developer,2025-02-01,75000,Engineering,jane@company.com
Best Practices
Field Labels
Good Labels:
- ✅ StudentName (clear, no spaces)
- ✅ InvoiceAmount (descriptive)
- ✅ StartDate (specific)
- ✅ ParentEmail (context)
Bad Labels:
- ❌ Name (too generic)
- ❌ Field1 (not descriptive)
- ❌ Student Name (has space)
- ❌ email (not specific)
Use camelCase or snake_case for field labels. Avoid spaces and special characters.
CSV Preparation
Best Practices:
- ✅ Column names match field labels exactly
- ✅ Consistent date format (YYYY-MM-DD)
- ✅ No empty required fields
- ✅ Valid email addresses
- ✅ Clean data (no extra spaces)
Common Mistakes:
- ❌ Mismatched column names
- ❌ Inconsistent date formats
- ❌ Missing required data
- ❌ Invalid email formats
- ❌ Extra commas in data
Field Sizing
Tips:
- Use sample values to size fields correctly
- Allow extra space for longer values
- Test with longest expected value
- Consider font size
- Check on different screen sizes
Data Validation
Before Sending:
- Preview first document in campaign
- Check all merge fields filled correctly
- Verify formatting (dates, numbers)
- Test with sample data first
- Review for errors
Troubleshooting
"Merge fields not showing in role mapping"
Possible Cause: Template doesn't have merge fields.
Solution:
- Edit template
- Add merge field types (not regular fields)
- Assign field labels
- Save template
"CSV columns not mapping to fields"
Possible Cause: Column names don't match field labels.
Solution:
- Check field labels in template
- Update CSV column names to match exactly
- Case-sensitive matching
- No spaces in labels
"Merge field values not appearing"
Possible Cause: Empty CSV cells or mapping error.
Solution:
- Check CSV has values in all required columns
- Verify column mapping in campaign
- Check for extra spaces in CSV
- Ensure CSV is UTF-8 encoded
"Date format looks wrong"
Possible Cause: CSV date format not recognized.
Solution:
- Use YYYY-MM-DD format in CSV
- Example: 2025-01-15
- Avoid formats like 01/15/2025
- SignNXT displays as "15 Jan 2025"
Frequently Asked Questions
Can signers edit merge fields?
No, merge fields are read-only for signers. They can see the pre-filled values but cannot change them.
What's the difference between merge fields and regular fields?
Regular fields are empty and signers fill them in. Merge fields are pre-filled with data and read-only.
Can I use merge fields without campaigns?
Yes! You can manually enter merge field values when using a template for a single document.
How many merge fields can I have?
No limit, but keep it reasonable for usability. Most templates have 5-20 merge fields.
Can I mix merge fields and regular fields?
Yes! Templates can have both merge fields (pre-filled) and regular fields (signer fills).
What if CSV has more columns than fields?
Extra CSV columns are ignored. Only mapped columns are used.
Can I update merge field values after sending?
No, merge field values are locked when the document is created. You'd need to void and resend.
Do merge fields work with sequential signing?
Yes! Merge fields are pre-filled regardless of signing order.
Related Articles
Was this page helpful?