Jump to content

[SOLVED] Acrobat 9.0 Pro Help


Recommended Posts

I'm new to Acrobat, and have a question that hopefully someone can help me with.

I took multiple forms and compined them togather to create what I call a "package," that way I enter the information on page 1, and it populates it across the other 9 pages where its supposed to go.

 

Only issue is, some of the forms use ____Last_______ , ________First_________, __M__

and some just use _______Name________.

 

Is there a way to combine "Last" + "," + "First" + "," + "M" automatically?

 

Link to comment
https://forums.phpfreaks.com/topic/140906-solved-acrobat-90-pro-help/
Share on other sites

Solved by myself (Incase someone needs it in the future)...

 

Under the "Calculate" tab, enter the following in the "Custom calculation script"

// Get field values 
var pri_nmF = getField('pri_nmF').value; 
var pri_nmM = getField('pri_nmM').value; 
var pri_nmL = getField('pri_nmL').value; 

// Build full_name string 
var pri_name = pri_nmL + ", " + pri_nmF + ", " + pri_nmM + "."; 

// Set this field's value equal to full_name 
event.value = pri_name;

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.