How can I get text from several fields on a layer, copy a field on another layer?

A little help please, as he did for years I did any coding of any kind.

So, I have a document of 4 pages with different types of fields.  I have a document script that gets "TodaysDate" which works perfectly and some other scripts as well.

So what I try to do is to find a work around for the following:

I have 3 fields - NAME, first NAME and date of birth.

Info.jpg

And I want to what is typed in these fields to fill in 1 field.  And according to this tutorial (http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript) it is not really possible.  At least, I think that's what he said.

However, I hope that maybe I could have a button to send at the end of this document when you click Copy the text of these 3 areas (that I would on 1 layer) in 1 field on a 2nd layer.  Is it still possible?

I also want to make the document print, Save (by using the text in the field on the 2nd layer as file name), Email (using the text in the field of the 2nd layer as the subject line) and export to a specific Excel spreadsheet.

I'm not much I do?

I'm using Acrobat 9 Pro on a Windows PC, but also have access to Acrobat 8 Professional.  And I want to run the form in Acrobat Reader X.

So far, I have 3 fields in 1 on another layer:

function buttonClick() {}

if(ButtonClick==false)

{

Event.Value = This.getField ("Surname"+"-"+"FirstName"+"-" + "DOB") .valueAsString;

}

}

But I don't know how to call the event.value 1 layer to another, or if none of that code above would even work at all.

I have a script that I works perfectly for registration and Email function:

Using the function "doc.submitForm ()".

It is the return e-mail form. Its hard-coded

to make the shape always comes back to the same address

Change address on your form

var cToAddr = " " [email protected] "; "

First of all, download the customer email CC

var cCCAddr = this.getField("ClientEmail").value;

Now get the email recipient if it is filled

var cBenAddr = this.getField("BennyEmail").value;

If (cBenAddr! = "") cCCAddr += ';' + cBenAddr;

Set text object and the body of the e-mail message

var cSubLine = 'Form X-1 returned to customer'; var cbody = "thank you for submitting your form. \n' + 'save the attachment of e-mail for your own records;

* Send the form data as an attachment of XML on an e-mail

Construct the URL to messaging

var cEmailURL = ' mailto: . " [email protected] ? cc = ' + cCCAddr + '& subject =' + cSubLine + '& body =' + cbody;

  1. this.submitForm({)

cURL: cEmailURL,.

cSubmitAs: "XML."

cCharSet: 'utf-8 '.

});

I'll work on export to Excel thing later I saw many tutorials on that.  But I can do the 3 fields to 1 thing at all?

Help, please!

First of all, you must understand that in 99% of cases, fields do not exist on layers. The two are separate entities.

And the code you posted is not correct:

Event.Value = This.getField ("Surname"+"-"+"FirstName"+"-" + "DOB") .valueAsString;

You can access each field separately using the getField method, so it should be:

Event.Value = This.getField ("Surname") .valueAsString + '-' + this.getField("FIRSTNAME").valueAsString + '-' + this.getField("dob").valueAsString;

Tags: Acrobat

Similar Questions

  • How can I send text to a field to another field of text?

    For example, I want to fill a row of data. I have an image with input fields and the other with the table. How to connect the text fields so that when I click on submit, their values are sent to the other text fields?

    Thank you

    you don't need a tutorial. you simply use the text of your input textfield property to retrieve the text entered by the user and use the text property of your table textfield to display these data:

    submit.addEventListener (MouseEvent.CLICK, submitF);

    function submitF(e:Event):void {}

    table_tf1. Text = input_tf1.text;  where table_tf1 is the textfield object where you want to display text entered in input_tf1.text.

    }

  • How can I get data from each associated XMLnode in movieclips separated when you click a line in the combobox

    How can I get data from each associated XMLnode in movieclips separated when you click a line in the combobox?

    A sample of XML is like this:

    <>planter

    < Lauvtre >

    < Botanisk_navn > Acer campestre < / Botanisk_navn >

    < Norsk_navn > Naverlonn < / Norsk_navn >

    Gronn < Farge > < / fan >

    H4 < Herdighet > < / Herdighet >

    < Hoyde > 10-15 m < / Hoyde >

    < / Lauvtre >

    I have a combobox where it shows the botanical name and the Norwegian name. But the rest of the info in movieclips seem separate.

    Someone has an idea how to do this? Can I use the trace function maybe? Here is my AS3 code so far:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, onLoaded);

    list.addEventListener (Event.CHANGE, itemChange);

    function itemChange(e:Event):void

    {

    your. Text = list.selectedItem.data;

    TB. Text = list.selectedItem.label;

    }

    var xml;

    function onLoaded(e:Event):void

    {

    XML = new XML (e.target.data);

    var it: XMLList = xml. Planter.Lauvtre;

    for (var i: uint = 0; i < il.length (); i ++)

    {

    list.addItem ({data: it.}) Farge.Text ([i]) + "\n"+ it.» Herdighet.Text ([i]) + "\n" + it. Hoyde.text ([i]),

    label: it. Botanisk_navn. Text() [i] + "\n"+ it.» Norsk_navn. Text() [i]});

    }

    }

    Loader.Load (new URLRequest ("lauvtre.xml"));

    Thank you!

    Rheus.

    I don't know what you're trying to do.  but, if you want to fill one combobox with the botanical names and when one is chosen, the other use of logins:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, onLoaded);

    list.addEventListener (Event.CHANGE, itemChange);

    function itemChange(e:Event):void {}

    var selectedObj:Object = a [list.selectedIndex]

    trace (selectedObj ['fan'], selectedObj ['Botanisk'], etc);

    }

    var xml;

    var a: Array = [];

    function onLoaded(e:Event):void {}

    XML = new XML (e.target.data);

    var it: XMLList = xml. Lauvtre;

    for (var i: uint = 0; i

    list.addItem({label:il[i].child('Botanisk_navn').toString()});)

    a [i] = {'Fan': it [i].child('Farge').toString (), 'Herdighet': it [i].child('Herdighet').toString (), "Hoyde": he [i].child('Hoyde').toString (), 'Botanisk':il[i].child('Botanisk_navn').toString(),'Norsk_navn':il[i].child('Norsk_navn').toString()};}

    }

    }

    Loader.Load (new URLRequest ("test.xml"));

  • How can I get rid of several clear green empty frames in the video that I just imported to iMovie?

    How can I get rid of several frames white green clear in the video that I just imported to iMovie (9.0.4)?

    I can not just delete them because this would create a rupture in the audio (I need) that will

    along these blank frames. What 'stretching' the last good image while keeping the audio?

    Thank you for all the ideas, your time and patience. I am new to editing.

    W.W.

    Have you tried to add a freeze frame to the position of the last good image?

    Place the cursor in the timeline panel on the frame that you want to extend, and then ctrl-click, select 'add a free framework '. Adjust the handles to resize the fame of gel.

    How can I get rid of several frames white green clear in the video that I just imported to iMovie (9.0.4)?

    You use iMovie 9.0.4 or the imported movie created in iMovie 9.0.4? I don't know what version you are currently using.

  • How can I get something from my google reader in ibooks?

    How can I get something from my google reader in ibooks?

    If it's a PDF file, you can use the Google Drive app iOS to open the PDF file, then look at the top of the screen to the 'Open in iBooks' button press anywhere in the PDF file.

  • How can I get sound from my desktop to my TV Toshba pc?

    His record game

    How can I get sound from my desktop pc to my TV Toshba, that Iam currently using as my monitor...  Thank you

    You need to run a separate cable for audio.

    See the following Note of http://windows.microsoft.com/en-US/windows7/Connect-your-computer-to-a-TV

    Cables VGA, DVI and component video don't support audio signals. However, HDMI cables are supported, but not all, audio signals compatible HDMI video audio support cards. If your TV has an audio input, you might be able to connect an audio cable separate from their computer directly to the TV card. Otherwise, you need to connect the audio signal to a different device, such as external speakers or your stereo. For more information about sound cards, see sound cards: frequently asked questions.

  • How can I get permision from TrustedInstaller to delete 1000 of unknown signs on my photos.

    How can I get permision from TrustedInstaller to delete 1000 of unknown signs, coming in my photos. Every few months theres different symbols, icons, photos, etc that appear just with my photos in windows live photo gallery... IV ' e uninstalled twice and it makes no difference...

    What are these signs?

    Are they actually in the pictures or photo icon (thumbnail)?

    Some backup software, for example Norton, puts the symbols on the icons to indicate the status of the backup files.

  • How can I get updates from Lightroom 6... No creativity cloud.

    How can I get updates from Lightroom 6... No creativity cloud. I have the desktop version. Whenever I select update of Lightroom, it gives me the possibility to upgrade to CC or to update my previous version of Lightroom (5.7.x)... Where can I just download these updates from Lightroom 6 (Stand alone) for a MAC?

    Chris

    Hi Chris,

    Greetings!

    Please visit this link, it's the direct download of updates: http://blogs.adobe.com/lightroomjournal/2015/10/lightroom-cc-2015-2-1-6-2-1-now-available. html

    Concerning

    Jitendra

  • How can I get Outlook 2003 and 2007, to leave a copy of message on the server?

    How can I get Outlook 2003 and 2007, to leave a copy of message on the server? I use Outlook 2003 and it keeps pulling messages out of my email account, I want at least a copy to be left there so that I can access it from anywhere and not just a computer. Thank you.

    Also, I use Microsoft exchange server 2007, and this is the account where I would like a copy of stay so that emails are there when I try to access remotely and when I accidentally leave Outlook / my computer on.

    -Ross

    Hi Ross WA,

    The concept behind Exchange is an inbox synchronized on all devices (computers, phones, PDA...) and you do not allow to leave messages on the server when it is in an Exchange environment. For more information on leave messages on a mail server, you can visit the following link:
    Microsoft Answers provides no support for Microsoft Exchange, even if you can post a question in the TechNet Forums here: http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/threads
    I also recommend to contact who manages your Exchange Server as they know your specific Exchange Setup better.
    I hope this information helps and thank you for using Microsoft Answers!

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I get photoshop to do not block a new copy of my picture after I applied an action?

    Whenever I have apply a photoshop action, photoshop applies the action to a new copy of my photo.  So if I'm playing with actions, I can get by with tons of copies of the same photograph.  I just want to be able to work on the original file I opened.  How can I get photoshop to do not block a new copy of my picture after I applied an action?

    Hello, perhaps one of the steps of the action is to create a copy of the image. This is a very good tactic if you want to avoid affecting your original image.

    Could you put the action, or a screencap of the action with the deployed action panel, if it's not too long?

  • How can I remove text from a PDF file?

    How to clear the text from a pdf file

    Hi iggybuskus2,

    If you want to change the text in a PDF document, you will need to use Acrobat. You can download a free Acrobat www.adobe.com/products/acrobat.htmltrial, if you want to test.

    Best,

    Sara

  • How can I get abuchak on my computer. I'm ready to go to another browser if it cannot be repaired

    How can I get off Abuchak. I'm becoming quite frustrated to have to use my favorites to see my home page. I have need of kto knows how to stop it.

    See https://support.mozilla.com/en-US/questions/865935

  • How can I get ibooks from iPad iMac

    I just got a new iPad.  I can't find books on iTunes, is it possible to get it from my mac (in ibooks) to my iPad?

    Looking to iTunes on your Mac or iPad? On your iPad, they should, if they are still available in the store and you have not reached the country since their purchase, show in the tab purchase the iBooks on the iPad app, and you can buy a new ibooks app (the app store iTunes on iPad is for music, movies, TV shows, audiobooks).

    If you want to sync them to iPad from your Mac, then connect the iPad and select it in iTunes on your Mac and select the iBooks

    The right side of this screen should show the books that are in the Mac iBooks app and allow you to select and synchronize them with the iPad

  • How can I get information from performance on disc with vFoglight 6.5 latency?

    Can someone tell me where I can get info from performance on disc with vFoglight 6.5 latency?

    There are also alarms that deal with the latency of disk. You are looking for a report or dashboard? Check the alarm Viewer and define a filter on the "latency". This will show you all the current latency time, then you can explore the host or logical unit number that is having the problem.

  • How can I remove text from a document?

    How to remove the text of the document

    Hi hkmompkpm n,.

    Work with a PDF file? If so, you will need Acrobat to edit the PDF file (for example, modification or deletion of text). You can download a free trial version of www.adobe.com/proudcts/acrobat.html.

    Please let us know if you have any additional questions.

    Best,

    Sara

Maybe you are looking for

  • In Firefox, how can I create folders which are reducible?

    I use Firefox for years. In the past, the files I created were folding; now, they are not.

  • What happens after a 10 times wipe?

    Once a device has been cleared by incorrectly typed in 10 times the unit sends a notification to apple to let them know that this has been done? Thank you

  • Driver for HP pavilion 15-N09wm Bluetooth not found

    I recently bought a HP pavilion 15-N09wm, but no bluetooth driver has been installed. I installed driver Ralink and qualcomm-atheros bluetooth, but non of them worked. Product number is E8A72UAR #ABA. Please, someone should help out me, cause am real

  • build using nor 6009

    Hello! I am trying to build the installer for USB-6009 OR LED flash. To my surprise the application must not flashing LED on the target machine. When I test with MAX Test pannel in the target machine, it's perfectly ok. The VI without building works

  • multiplier table to get the specific size

    Hello I have two table the first on is 4 * 2 and the second a 2 * 1 I need mulipliing to get 4 * 1 It's my vi can any simple changes this VI for the result? Best regards Magnin