Finding Fields in a PDF to Populate w/out iterating

Is there a way besides iterating through a PDF document to find/set fields? If the PDF document has a number of pages/fields, this can be slow.
Using C# in Visual Studio 2005 with Acrobat 8.0.
while (myEnumerator.MoveNext())
// Get the IField object
IField myField = (IField)myEnumerator.Current;
// If the field is found, set it's value
if (myField.Name == lookupField)
bFound = true;
myField.Value = valueField;
break;

If you know the name of the field, you can ask for it by name directly.
here is the sample from the SDK documentation.
Dim Field As AFORMAUTLib.Field
Dim nFields As Long
Set Field = Fields.Item("name.last")
'Since Item is the default_ property:
Set Field = Fields("name.last")
Remember, documentation is your friend!
Leonard

Similar Messages

  • How can I open a PDF file and enter a word in the Find field from the command line?

    Hi,
    I want to use a PDF file as the help file of another program.
    I have found somewhere an incomplete description of the command line parameters of Acrobat Reader.
    It described how to open a file and jump to its given page.
    I have written the following batch file based on that.
    rem Open pdf (prm1) with Acrobat reader at given page (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&page=%2=OpenActions" %1
    The following batch file opens the search dialog:
    rem Open pdf (prm1) with Acrobat reader
    rem and search for something (prm2)
    "%adobe_rdr%\AcroRd32.exe" /N "zoom=73&navpanes=1=OpenActions&search=%2" %1
    I need the simple find field instead of the complicated search window.
    Regards
                   Ferenc

    Not possible.

  • Can I populate a text field in one PDF with the modification date of a different file ?

    Rather convoluted problem here but I'm trying to place a text field on a PDF document that serves as the main menu page for a library of interlinked PDF documents
    The complete library contains over 7,000 files and additions are added and documents changed almost daily.
    We currently use batch files to open the main menu from it's shortcut and this runs a check on a sync log file (.txt) to ascertain when the last time the user synchronised with the server to get the latest copy of the files.
    Between a certain time range they are told how long it has been since they sync'ed and are offered the option to sync before opening, after a prescribed timeframe they cannot enter without synchronising. We use Allways Sync to conduct the file synchronisation with our mother files on our server.
    What I'd like to do is take advantage of Allways Syncs automatic synchronisation options to synchronise on log on and at prescribed idle periods there after.
    This works fine but I'd like the text field on the main menu PDF to say when the last synchronisation took place - easy if the main menu is the last file modified .. just use info.modDate.
    However, the main menu is rarely modified therefore I wish to import the text to populate the text field from a different file.. either by interrogating the other files modifictaion data (though I doubt Acrobat can do this) or by simply importing some text stored in another file (a .txt file?) which has previously been created by batch file commands.
    Any assistance would be greatly appreciated.
    Regards,
    Nifty Styles
    (Norfolk, England)
    P.S.  I'm using Acrobat 8.3.1. Professional on Windows XP (SP3).

    Thank you for all your help above.
    Just to confirm your advice, am I right with the following conclusions? :
    1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
    2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
    Further to that can you just advise on the syntax for accessing the modification date of the other document.
    Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
    var LastSync = "C:\sync\bin\lastsync.pdf";
    var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
    strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
    this.getField("LastSyncDate").value = strMsg;
    If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
    I much appreciate your time to help me ... I'm almost there.
    Kind Regards,
    Nifty

  • Duplicating form fields from one PDF document to another

    Hi,
    Does anyone know of a way to select and duplicate all acrobat form fields from one PDF document into a new PDF document. I know I can do so one field at a time but would like to know if there is a way to do so in a wholesale fashion.
    Our PDF documents are created in-house each year and are nearly the same as the previous year's document containing 99% of the same form fields in the same locations. These forms contain a lot of form fields, anywhere from 50 to 100 fields.
    Rather than start from scratch each year defining the same fields that were present in the previous year's document, I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined) and hopefully maintain all the field attributes and positions from the previous years document.
    Thanks for any suggestions,
    Steve

    The PDF template we need to copy the form fields "to" doesn't start out having any form fields. It is the fields that we need copied from a previous year's PDF template.
    Here's an except from my original post: "I am looking for a way to copy the form fields from an existing PDF document (last year's PDF in our case) and copy the form fields into a new PDF document (that does not yet have any form fields defined)"
    The "new" PDF template is a complete "paper" form with updated legal text and calendar year referrences but NO form fields. In our IS group, we then take these forms, add form fields to them and are then able to populate them with database-resident user data. We serve them up to the user in their browser pre-populated with their application data.
    So again, our need is to find a way to copy form fields from "last year's" PDF template and copy just the form fields to an fresh "new year's" PDF template that contains no form fields to begin with. What we begin with is just a PDF representation of a paper student loan application.
    Thanks for the suggestion!

  • Import info into fields in a pdf

    First off, I hope this is the correct area to post this. I am new to this forum and this software. If it's the wrong area, I'll gladly repost it wherever necessary.
    My goal is to have a pdf that has forms throughout it that people can input their information into it and then print it. The problem is that I want to control how many times they can use the form. I want to limit them to one use. I've come to the conclusion that this will require me to restrict access to the actual form and only let it show up in the end as an image with the text filled in.
    The way I imagine this happening would be some sort of mail merge kind of software that allows them to fill out fields that import to the correct corresponding fields on the pdf form. The problem is that I would need people to be able to do all of this via the web. The step by step of this would be something like this:
    1. Person comes to site
    2. They get access (rotating password or something) to a form to fill out
    3. They fill it out
    4. They hit submit or something similar
    5. It imports the data into a premade pdf
    6. The filled out pdf shows up as an image they can print
    If anyone can send me in the right direction, it would be greatly appreciated. I'm open to most any option whether that be software or whatever. I've tried searching for ways to do this, but I don't know where to start. I don't even really know what you would call this, so that's limiting my search abilities too.
    If there is more info that you need to help me come up with a solution, just let me know what it is. I would be happy to tell anything else that might be helpful.
    Thanks,
    Tim.

    You can submit data to a PHP or other web based script page that inserts or retrieves the data from a database and places the data into an FDF.
    How to populate a PDF file's form with data from a web server by Gordon Kent
    Processing Acrobat Form Data: As Easy As HTML by Gordon Kent

  • Table fields to match pdf form

    I found this on my formscentral help file.
    Note: Some types of form fields aren’t supported when you import a PDF form. For example, text fields with formatting applied, such as numeric or percentage fields, are converted to plain text fields. And, signature fields aren’t converted, as Adobe FormsCentral doesn’t support this type of field.
    For more information, see Issues encountered while importing an existing PDF form.
    http://forums.adobe.com/docs/DOC-2533
    What I have experienced.
    Formscentral does not allow you to format the table in their views when you use a pdf as the form, only if you use the online form.
    I found that when out when I got 6 decimal points when multiplying tax, which was .04166. On the pdf it defaults to 2 decimals.
    Another thing I noticed. My pdf form date field was set to MM/dd/YY. When I just put in 5/06 in that field, on the pdf form it auto corrected it to 05/06/13. When that pdf form was submitted to formscentral, that field showed 5/06. So it is pulling exactly what you input into the pdf form regardless of how the pdf form corrects your mistakes.
    My real question is if Formscentral Is working to allow you to set the table format to work with pdf's too?
    If not are you working to add calculated fields to the online form?
    Not complaining just wanting. The product is awsome as is but this would take it a step further.

    Thanks for your well articulated observations on our product. With regard to your questions about new funcitonality I can only suggest that you find the assocciated features on our ideas list and vote for them. http://forums.adobe.com/community/formscentral?view=idea#/?ideaView=5513&numResults=30&sta geFilter=-1&stageID=-1&start=0 We use this list to help guide future development work.
    Yours
    Andrew

  • Does anyone know how I can create a text field in a pdf document that will multiply a total in another box?

    does anyone know how I can create a text field in a pdf document that will multiply a total in another box? I’m making an interactive pdf for an order form (attached), and I need to find a way for the “total quantity” number to multiply by 9 and total in the “Amount Due” box.

    Hey Gary,
    Have a look at this post: Re: horizontal scrolling similar to excel
    Andy's reply will show you how to make a table scroll horizontally, but it will be tough to accomplish it in some sort of easily replicable way. I am working on a JQuery extension that will help accomplish this, but I have had my time invested in another project at the moment.
    Good Luck,
    Tyson

  • How to add digital Signature Field in cfdocument pdf files?

    Hi,
    We are generating pdf files using cfdocument to populate values and wondering how we can add digital signature field in those pdf files. Any help or comments would be deeply appreciated.
    Thanks,
    hismail786

    Hi,
    Yes, we have options to add digital signature to the pdf. We have one attribute called "Permissions" in "cfpdf" tag. If we provide permissions = 'AllowSecure', then system would allow digital signature for that pdf.
    Please go though the docs for details info. I will post in details next.
    Thanks
    Chandrakant

  • How do I change the order of the fields in my pdf form?

    I am using pdf. form I made in Acrobat and distributing with Adobe FormsCentral.  We use a table format for our teachers to fill out their field trip schedules and therefore use many different fields.
    How can I change the order of the fields (not for tabbing, we figured that out)...so that when we receive our notification email, I can see the inforamtion in a specific order (Date, Time, School, Program, etc).
    We would also like this same order to appear in the "View Responses" table.  I know you can drag and drop the order in the table but we have over 100 fields and that is going to take a really long time.
    Please help???
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

    What do you mean by the "order they appear in the pdf structure"?  What is the "Pdf structure"? 
    thank you for your help... this is really upsetting, as I thought we finally found a solution with Adobe Forms : (
    We really need the fields to report back in a specific order and wouldn't have time to rearrange over 100 fields with every form that is submitted. We receive about 10-20 different forms a day (same form layout, just some of the fields will have to be prefilled depending on school/teacher reservation... so we have to name each form a different name, for each school).
    Thank you again and maybe one day they will change that.  Is there anyway to set it up in the web verison of Adobe FormsCentral to look similar to the table we have created?
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

  • Default value in Find field of CRMD_ORDER

    Hi folks,
    Is there a way of changing the default value of the Find field in the Find tab of transaction CRMD_ORDER to the value "1 All"?
    Many thanks for your help.

    Hello Steve,
    Did you try setup settings of this window using extras ->settings ? If you check field 'open last transaction last processed' than will be open last processed message.
    Also check this post http://scn.sap.com/thread/1362888 maybe if you can use crm_dno_monitor with variant or solman_workcenter tcode (it depends of solman version).
    BR,
    SAPFan

  • I am unable to copy fillable fields from a pdf form into Microsoft Word or notepad....Help! thank you!

    I am unable to copy fillable fields from a pdf form I created in Adobe X Pro into a Microsoft Word or Notepad document. Please help! Thank you!!

    I have created a fillable form. Part of the information from that form needs to be copied and sent to another department at work. Once i complete the fillable form (e.g. select options from a drop down, enter test in test boxes that are on the form) when i copy that section, i only get the non-fillable information pasted into word or notepad, the drop down selections and fillable text do not copy.

  • Placing a signature field in a PDF in Acrobat X

    In Acrobat 9 I could place a signature field into a pdf without converting the PDF into a form.  The procedure began with clicking on the Forms tab.  I could drag the signature field to a location and a user could click on the signature field and digitally sign the doc.  How is this done in Acrobat X?  Please let me know if you need any more details.

    A signature field is a type of form field. If you want to set up the document so that a Reader user can add a digital signature, you should first add a signature field to the document and then Reader-enabled it by selecting: File > Save As > Reader Extended PDF > Enable additional features
    To add form fields, select: Tools > Forms > Edit

  • What is the best way to find what version of PDF Reader from Adobe is installed on a windows OS?

    Hi,
    I am developing a .Net App in which i want to find which version of PDF Reader from Adobe is installed on an Windows OS.
    It can be any of the software
    Adobe Reader
    Adobe Acrobat X Pro
    or any other.
    How to find out?

    The best way would be to find and query the AcroRd32.exe executable. The file version information is stored in the executable itself.
    There are lots of places in the registry that you could also potentially access relevant information.
    For example the uninstall string:
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    Contains a string that you could use to search for the application version.
    How you would do this in .NET I'm not sure but you would use some kind of text search command to search for the relevant text and then use "if exists" condition.

  • How to left align the signature field of dynamic pdf

    Hi,
    I am working on dynamic (interactive) pdf and using Adobe LiveCycle Designer (Adobe Acrobat 9 Pro). My problem is that I cannot align left the signature field of my pdf. I can align left, right and center for textboxs and cannot just do that for signature field. When I couldn't do that from GUI I went to XML code for signature and tried this:
                       <para hAlign="left"/>  but it still didn't work. Ideally it should have worked.
    I would really appreciate if you could help me.
    Regards,
    Kiran

    Use skinning. Use the following skin selector:
    af|panelFormLayout::label-cell {text-align: left; }If you want to apply it only on particular panelFormLayout, then set a custom styleClass on the given <af:panelFormLayout> tag (for example, <af:panelFormLayout styleClass="MyStyleClass" ... >) and use a styleClass-dependent skin selector:
    af|panelFormLayout.MyStyleClass::label-cell {text-align: left; }Adding a custom skin is easy. If you do not know how, see this topic in the documentation: 20.2 Applying Custom Skins to Applications
    Dimitar

  • Clearing form fields in a PDF

    I am using Microtype's TimeSavers and SP Form assistant to create forms and calculators in my FrameMaker documents. Is there a way to add an extendscript that will reset/clear the fields when the PDF is opened each time? It is going to be part of a book PDF on a server, so it's going to be accessed by many people. I need any fields to be cleared/reset on open so that each time it will be cleared for the person opening the PDF.
    Thanks, Gary

    Gary,
    I think that you'll have to do this on the Acrobat side by embedding a javascript routine in your form(s).
    There's an overview tutorial at AcrobatUsers on using Javascript with Forms, see: http://acrobatusers.com/tutorials/using-acrobat-javascript-with-forms
    IIRC, you'll need to create a "Document Level Script" (see: http://acrobatusers.com/tutorials/js_document_scripts) that contains:
    // reset the form
      this.resetForm();
    For more PDF scripting tips, check out Thom Parker's PDF scripting site: http://www.pdfscripting.com/public/main.cfm

Maybe you are looking for

  • Hyper-V Replica Capacity Planner stuck getting VM information

    I'm trying to use the Capacity Planner for Hyper-V replica tool to estimate requirements for a replica site. It keeps getting stuck "Getting the VM and VHD from primary site, this can take upto several minutes...". I've waited over an hour, and it st

  • Work flow in DMS

    Dear Expert, can anybody tell me the solution for the below scenario. 1-i want to attach few documents to WBS elements in PS. 2-Project manager should get one mail automatically after i attach the document. 3-Then Project manager has to change the st

  • If, then, javascript calculation on pdf form

    I have a form with a grid which lists credit cards transaction amounts, with a drop down box for "type of credit" (visa, mastercard, discover).  The bottom of the form has 3 different total lines; one for each of the credit card types.  I would like

  • WAAS-4.1.5-b25 software?

    I'm in the process of adding a new accelerator into our setup, today we use WAAS-4.1.5-b25 software version, but the "new" hardware have 4.1.3b. I would like to just upgrade the new hardware to the same version we have in our setup, but cant find the

  • Error message:this version of itunes has not been localized for this language. please run the english version

    Error message received when trying to open Itunes. This version of Itunes has not been localized for this language. Please run the english version.