Jump to content

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;

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.