Copying data to multiple fields

I have a number of forms which have been created in Acrobat 8 Professional using the Acrobat tools (not LiveCycle) where I need data entered in one field to copy to another. Usually this data is text. I have used the following Javascript in the Calculate tab in field properties:
event.value = this.getField("SOURCE FIELD").value;
In order to allow for a single point of data entry, the fields to which the data is copied are locked and flagged as read only. Most of the time this works, however I have been getting multiple support calls where the forms fail to follow the script. I've tried many options including PDF optimization. I've ensured that users are using the same version of Acrobat Reader (8.1.2).
Is there a better way to accomplish this task?
Is there something wrong with the JavaScript?
I'm not very sophisticated with Javascript and would appreciate any assistance. Thanks!

There is a user preference that controls whether automatic calculations are performed. Perhaps some users have turned this off. The most likely possibility is the field calculation order is not correct.
If you've checked both of those things and it still doesn't work, can you give an example of some text that this doesn't work with?
A different approach that avoids these issues is instead of setting up a custom calculation script in the read-only field, you can use something like the following in the Validate script of the text entry field:
getField("destination_field").value = event.value;
This way it will work if automatic calculations are turned off, and the calculation order doesn't come into play.
George

Similar Messages

  • Bind repeating data to multiple fields

    I am a livecycle numpty and I need some help! I am developing a readonly report. This report is using sample xml for databinding. Within the xml I have a repeating group - example:
    <group>
         <groupItem>
              <addres>parp</address>
         </groupItem>
          <groupItem>
              <addres>parp</address>
    In my report I have two sections that need to reference this repeating data. One section works and the other doesn't. I've read that you can't bind repeating data to multiple fields. How do I get around around this? I can't seem to get the global binding to work (is this purely for user entered data???)
    Please help!
    Cheers,
    Rich

    one way to do this is, in the Initialize event of the field in second repeating section, assign the rawValue from the first repeating section..
    For example..
    initialize event of Field2..
         Field2.rawValue = Field1.rawValue;
    Other way is to read the XML tags and assign the value to the fields..
    You need to loop thru the group element and read each group item value and assign the value to the field..
    Field2.rawValue = xfa.resolveNode("$record.group.groupItem").value; //this command will only read the first occurance of the groupItem value.
    Thanks
    Srini

  • Copy text from multiple fields to one field

    I would like to copy text from multiple fields into one field. Each of these smaller fields will only be allowed to have one character. The larger field will not be able to be edited.
    So far, I have thought of creating a naming heirarchy for these fields. I was going to then call upon the array of the parent and set the value of the parent to equal this array.
    var parent = this.getField("everything");
    var array = everything.getArray();
    var v;
    for(parent=0; parent<array.length; parent++)
    v = a + " " + v;               //Im guessing this line is incorrect
    parent.value = a;
    Any suggestions? or a better way of doing this.
    Thanks

    The code sample you provided is using AcroForm scripting and will not work in this form. There is another post similar to this one...have a look at this one it might help you out. It is doing the opposite of what you want but the concept of the loop and how each field is addressed inside ofthe loop is what you wil need.
    http://forums.adobe.com/message/2954517#2954517
    Paul

  • Splitting the single field data to multiple fields

    Hi,
    I have the contents in fieldABC which i would like to copy based on the length of the value
    Eg:
    Field ABC has value 1
    it need to be copied to Field1
    FILEDABAC has 1234
    it need to be copy in field 2
    FILEDABC has 1234ABC
    It need to be copy in Field 3
    i means to say based on the lenght of the value i would like to copy the contents to multiple fields
    Note: the data is for Heirachy...
    Can anyone will help with code.
    Thanks

    Hi,
    You mean you want to copy contents of field ABC to Field1,Field2,Field3 based on there length??
    if i have correctly understood you then do like:
    data : g_strlen type i.
    g_strlen = strlen ( ABC ).
    if g_strlen = 1.
             field1 = ABC.
    elseif g_strlen > 1 and g_strlen <= 4.
             field2 = ABC.
    elseif g_strlen > 4 .
             field3 = ABC.
    endif.
    Regards,
    Neha

  • How to Sort JTable data using Multiple fields (Date, time and string)

    I have to fill the JTable data with some date, time and string values. for example my table data looks like this:
    "1998/12/14","15:14:38","Unicorn1","row1"
    "1998/12/14","15:14:39","Unicorn2","row2"
    "1998/12/14","15:14:40","Unicorn4","row3"
    "1998/12/17","12:14:12","Unicorn4","row6"
    Now the Sorted Table should be in the following way:
    "1998/12/17","12:14:12","Unicorn4","row6"
    "1998/12/14","15:14:40","Unicorn4","row3"
    "1998/12/14","15:14:39","Unicorn2","row2"
    "1998/12/14","15:14:38","Unicorn1","row1"
    ie First Date field should be sorted, if 2 date fields are same then sort based on time. if date and time fields are same then need to be sorted on String field.
    So if any one worked on this please throw some light on how to proceed. I know how to sort based on single column.
    But now i need to sort on multiple columns.So what is code change in the Comparater class.
    Thanks in advance.. This is urgent....

    I think your Schedule objects should implement Comparable. Then you can sort your linked list using the Collections.sort() method without passing in a Comparator.class Schedule(Date date, String class) implements Comparable
      public void compareTo(Object obj)
        Schedule other = (Schedule)obj;
        return date.getTime() - other.getDate().getTime();
    }

  • Copy Data for Multiple Accounts from LegalApp to FinanceApp

    Hi Experts,
    I have two application, LegalApp and FinanceApp, wherein both have P&L Accounts but with different set of accounts. I have to copy the data of LegalApp P&L Accounts to my FinanceApp P&L Accounts. Some accounts in the FinanceApp have the same ID to that of the LegalApp so I don't have difficulty copying the data. I've used the Script Logic below:
    *DESTINATION_APP = FINANCE
    *ADD_DIM COSTCENTER=NO_COSTCNTR
    *ADD_DIM MARKET=NO_MARKET
    *ADD_DIM PRODUCT=NO_PRODUCT
    *ADD_DIM CUSTOMER=NO_CUSTOMER
    *RENAME_DIM ACCOUNT=COPAACCOUNT
    *SELECT(%LegalAcc%,"ID","ACCOUNT","IS_COPY='Y'")
    *XDIM_MEMBERSET ACCOUNT=%LegalAcc%
    *XDIM_MEMBERSET ENTITY=DMPI
    *XDIM_MEMBERSET DATASRC=<ALL>
    *WHEN *
    *IS *
    *REC(FACTOR=1)
    *ENDWHEN
    *COMMIT
    What I'm having trouble is copying data from LegalApp Accounts to FinanceApp Accounts whos ID's are not the same.
    Example: from PN0000000000 to COPA00000000. I've tried inserting the following logic but still nothing happened.
    *WHEN ACCOUNT.ID
    *IS "PN0000000000"
    *REC(ACCOUNT="COPA00000000")
    *ENDWHEN
    Hope you could help me.
    Thanks,
    Marvin

    Hi nilanjan,
    I've already tried that(see post above) and that doesn't seem to work.
    *DESTINATION_APP = FINANCE
    *ADD_DIM COSTCENTER=NO_COSTCNTR
    *ADD_DIM MARKET=NO_MARKET
    *ADD_DIM PRODUCT=NO_PRODUCT
    *ADD_DIM CUSTOMER=NO_CUSTOMER
    *RENAME_DIM ACCOUNT=COPAACCOUNT
    *SELECT(%LegalAcc%,"ID","ACCOUNT","IS_COPY='Y'")
    *XDIM_MEMBERSET ACCOUNT=%LegalAcc%
    *XDIM_MEMBERSET ENTITY=DMPI
    *XDIM_MEMBERSET DATASRC=<ALL>
    *WHEN ACCOUNT.ID
    *IS "PN0000000000"
    *REC(ACCOUNT="COPA00000000")
    *ENDWHEN
    *COMMIT
    I was wondering if I'm missing something in my statement.
    Thanks,
    Marvin

  • Adding fields to database table and copying data from other fields

    Hi All,
    I am having a database table where in I am having a column 'FIELD1'.
    My requirement is that I want to add two more fields in the table 'FIELD2' and 'FIELD3'.
    I then want to copy all the data in field1 to field2 and field3. then I want to delete the original field1.
    for Ex.
    lets say FIELD1 = 100.
    now I want to add FIELD2 and FIELD3 in the table and make FIELD2 = 100 AND FIELD3 = 100. The FIELD1 will be deleted from table.
    Please suggest the methods to do so.
    It is urgent.

    Hi Gaurav,
    do this way ...
    data : begin of it_ztab occurs 0 with header line,
              fld1 like ztab-fld1,
              fld2 like ztab-fld2,
              fld3 like ztab-fld3,
            end of it_ztab.
    data : wa_ztab like it_ztab.
    it_ztab-fld1 = '100'.
    append it_ztab.
    clear    it_ztab.
    loop at it_ztab.
      wa_ztab-fld2 = it_ztab-fld1.
      wa_ztab-fld3 = it_ztab-fld1.
      wa_ztab-fld1 = ' '.
    * Make sure that the structure of internal table/ workarea and database table shoud be same
      modify ztab from wa_ztab.
    endloop.

  • Copy/paste of multiple fields in form to eg. Wordpad

    Does anyone know if it is possible to mark more than one screen field in a form so that ctrl-C ctrl-V can be used to copy all the information in one single operation to a text editor outside the Forms environment.

    Not with Copy Paste - however the normal way of doing this kind of thing is to write some kind of Export Function which writes the data in all the fields into a suitable file - usually something line a CSV file using Text_IO.

  • Copying data from one field to another on a form

    Hi
    I have created a form called application which contains the following fields:
    Name
    Address1
    Address2
    Address3
    Address4
    Location1
    Location2
    Location3
    Location4
    When the user has entered his name and address I would like the data to then prefill into the location lines.
    I think you can do this sort of thing in java event handlers but I have no experience of this.
    Any one got any ideas how I can do this.
    Thanks
    Jayne

    hi Jayne,
    The following is an example of something just like what you want.
    In this form, get_add1Vals(); is called in the js-event handler for the field NEWFNAME1 which gets populated by the value selected or entered into FNAME1. The following code goes in the additional plsql code region (Before displaying the page).
    hope that certainly helps! please update it with your results.
    AMN
    BEGIN
    HTP.PRINT('<SCRIPT LANGUAGE="JavaScript1.1">
             function get_add1Vals{
                var  v_fname;
                for (i=0; i<document.forms[0].elements.length; i++)
                  if (document.forms[0].elements.name=="FORM_TBL_TEST_FORM_3.DEFAULT.FNAME.01")
    v_fname = document.forms[0].elements[i].value;
    break;
    if (document.forms[0].elements[i].name=="FORM_TBL_TEST_FORM_3.DEFAULT.NEWFNAME1.01")
    document.forms[0].elements[i].value = v_fname;
    break;
    void("");
    return true;
    </SCRIPT>');
    EXCEPTION
    When Others THEN
    null;
    END;

  • Best Practice Table Creation for Multiple Customers, Weekly/Monthly Sales Data in Multiple Fields

    We have an homegrown Access database originally designed in 2000 that now has an SQL back-end.  The database has not yet been converted to a higher format such as Access 2007 since at least 2 users are still on Access 2003.  It is fine if suggestions
    will only work with Access 2007 or higher.
    I'm trying to determine if our database is the best place to do this or if we should look at another solution.  We have thousands of products each with a single identifier.  There are customers who provide us regular sales reporting for what was
    sold in a given time period -- weekly, monthly, quarterly, yearly time periods being most important.  This reporting may or may not include all of our product identifiers.  The reporting is typically based on calendar-defined timing although we have
    some customers who have their own calendars which may not align to a calendar month or calendar year so recording the time period can be helpful.
    Each customer's sales report can contain anything from 1,000-20,000 rows of products for each report.  Each customer report is different and they typically have between 4-30 columns of data for each product; headers are consistently named.  The
    product identifiers included may vary by customer and even within each report for a customer; the data in the product identifier row changes each week.  Headers include a wide variety of data such as overall on hand, overall on order, unsellable on hand,
    returns, on hand information for each location or customer grouping, sell-through units information for each location or customer grouping for that given time period, sell-through dollars information for each location or customer grouping for that given time
    period,  sell-through units information for each location or customer grouping for a cumulative time period (same thing for dollars), warehouse on hands, warehouse on orders, the customer's unique categorization of our product in their system, the customer's
    current status code for that product, and so on.
    Currently all of this data is stored in a multitude of Excel spreadsheets (by customer, division and time period).  Due to overall volume of information and number of Excel sheets, cross-referencing can take considerable time.  Is it possible to
    set-up tables for our largest customers so I can create queries and pivot tables to more quickly look at sales-related information by category, by specific product(s), by partner, by specific products or categories across partners, by specific products or
    categories across specific weeks/months/years, etc.  We do have a separate product table so only the product identifier or a junction table may be needed to pull in additional information from the product table with queries.  We do need to maintain
    the sales reporting information indefinitely.
    I welcome any suggestions, best practice or resources (books, web, etc).
    Many thanks!

    Currently all of this data is stored in a multitude of Excel spreadsheets (by customer, division and time period).  Due to overall volume of information and number of Excel sheets, cross-referencing can take considerable time.  Is it possible to
    set-up tables .....
    I assume you want to migrate to SQL Server.
    Your best course of action is to hire a professional database designer for a short period like a month.
    Once you have the database, you need to hire a professional DBA to move your current data from Access & Excel into the new SQL Server database.
    Finally you have to hire an SSRS professional to design reports for your company.
    It is also beneficial if the above professionals train your staff while building the new RDBMS.
    Certain senior SQL Server professionals may be able to do all 3 functions in one person: db design, database administration/ETL & business intelligence development (reports).
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • RECIPIENT DESCRIPTION IN BDF and SEND COPY TO ATTRIBUTE ON FIELD

    I have a field that is 20 bytes long has the "send copy to " attribute selected.
    My BDF has a recipient INS and the description is "INSURED COPY"  Data prints in field as "INSURED.COPY........" (where periods are spaces)  I actually want the information to print as "....INSURED.COPY...." so that it displays centered in the field.  I used to be able to put spaces before the recipient's description in 11.3 by using the <RECIP_NAMES> and added the required spaces before the actual description. Doing this I could force the information to be centered for each recipient, even though one recipient might be "AGENT COPY" and another might be "HOMEOFFICE COPY", I could force the information to be centered by adding extra spaces in the description.
    Now, in release 12.2, I can not add spaces before the recipient description in the BDF.  Every time I add spaces prior to the description Documaker strips them out. Is there some other way to center the recipient description in the field? Can I add the JUSTFLD rule to a field that has "send copy to" attribute selected?
    I was able to do the alt+0160 to force a description field to be spaces but I don't think I can add more than one alt+0160 to the description.
    Thanks in advance for any help with this!

    Just to confirm have gone through here Menu > Messaging > "gmail or yahoo wwhatever it is" > options > E-mail settings > User settings > Send copy to self
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • Auto Suggest with multiple fields?

    Hello,
    I am planning on using the autosuggest on a project I'm
    working on, and was surprised by the lack of support for multiple
    fields. Correct me if I'm wrong, but right now you can only search
    for the 'name' field or 'age' etc. I would like to be able to enter
    some text in the textinput field, and it would search both 'name'
    and 'username' in the dataset. Is this possible with the current
    widget?
    Thanks,
    Maquelly

    Hello Maquelly,
    Indeed the Auto Suggest widget do not support filtering the
    data against multiple fields simultaneously if the data is filtered
    on the client side. I will add this as an enhancement request for
    this brand new widget. We have only support for multiple fields to
    be displayed in the suggestion list which is a spry:region, you can
    insert the values of multiple fields concatenated through the
    spryLsuggest tag buy we are not able to check multiple fields,
    We have implemented also the ability to send the value typed
    on the server and expect a new XML with the filtered data. This
    method allow you to achieve your goak as you can control
    completelly the filtering algorithm that sends the data back in
    browser. We have some samples in the Spry 1.5 preview.
    Regards,
    Cristian MARIN

  • Copy Field Formats into multiple fields

    I have a form that has a spreadsheet layout. Multiple fields need to be formatted as currency or date. Outside of using Java scripts is there a way to copy the formatting of one filed to multipe others? I want to avoid Java script because I'm lousy with it.

    Is it possible to have each field separated by a comma? Space
    delimiters won't work since not all cities & states are one
    word (ie. New York, New York) however a comma delimiter would allow
    you to use simple list functions to extract the data.
    If this isn't possible but the data is always in the format:
    city<comma>state<space>zip, then you could extract the
    city using comma as the delimiter and then extract the zip code
    using the ListLast() function with space as the delimiter which
    would leave you with the state as the remaining text. This would
    only work however if your data is consistently in the format
    described above.
    Failing this you could build two tables with states and
    cities and then use them to identify valid states and cities and
    extract the data that way.
    cheers

  • Bind multiple fields to one node in data view

    I have a need to have an interactive form where data from a single data source is displayed in multiple fields on the form.  In addition these fields are open for input.  I have bound the multiple fields on the form to one node in the data view.  The data is being displayed in the multiple fields. This form is being routed thru workflow so various agents are updating the form.  The problem that I am having is that the form only seems to allow input in the first field on the form but not the other fields that are tied to the same data source. For example, field A and field B are bound to node SUMMARY.  I can add/change/delete data in field A but not in field B.  After I have done some entry in field A, I can then sometimes make changes in field B.  We have a requirement that field A be enabled for agent #1 but field B is invisible.  Later in the workflow, agent #2 needs to make final changes on a "summary" page so agent #2 had field B enabled.
    Does anyone have any idea how to correct this data entry issue so that data can be entered into either field that is tied to a single node?

    Having multiple fields in the backend is not an option.  I will not go into the business reason in detail but the last page of the form contains a final version of data pulled from various locations on the form where the data on the other pages was input by multiple agents in the process flow.  The last agent in the workflow needs to put the "finishing touches" to the data and should not have to search all over in the form to find the appropriate data fields.
    I have found 2 possible solutions and would like to know if anyone can recommend one over the other. 
    First solution - bind multiple fields on the form to one node in the data view.  This seems to work correctly on the form and data can be entered into either field, with the data being passed back to the webdynpro context in the one node in the data view (corresponding node in WD context).
    Second solution - the node/attribue in the WD context must have the same name as a DDIC element. The node in the data view must have this same name.  The field names on the form must also have the same name.  Define the binding for the field names as Global.  I have not validated that the data is passed back to the WD.

  • Can you copy multiple fields in a pdf form and paste them elsewhere?

    I have created forms in Adobe Standard 9 and have posted them on our company intranet for users to access. All the forms work well, but one group would like to be able to copy and paste the form data into our call tracking software for future reference. It can be achieved now by copying and pasting each field one at a time. My question is there a way to copy more than one field at a time and paste the data elsewhere as even simple text, no font recognition required.
    Kerry N

    Thanx graffiti, you're right that Adobe 9 Standard had that option and it saves it as a seperate .txt file. and you can cut and paste from there. What I was hoping for was a Reader 7, 8 or 9 copy and paste solution, like the Adode version of "shift + c" to choose and add individual cells in Excel.
    Any tricks of shortcuts would be appreciated.
    Kerry N

Maybe you are looking for

  • Captivate 6: Can I hyperink to a web page from an image?

    In Captivate 6, can I hyperlink to a web page from an image?

  • IPod Music Problems with the Latest Version

    So I am happily using my iPod and iTunes 7 software with my Win2000 notebook and everything was working great. Then I get a notice that there was a new version of iTunes (7.1) and do I want to download. So I download and then install the new version.

  • Adobe Reader for non-symbian devices

    Why do I have to have a symbian device to read pdf files? We don't need complex operations on a cell-phone with Adobe, other than reading the e-mail attachment. I would pay for a Java version of the Reader to run on my non-symbian phone.

  • Compare and extract number from string

    Hi, all If I want to compare a requirement number and extract a number form a continuous data, . for example, the string like this ( ******** 123 ******                                *********456 ******                                *********789***

  • Problem in pop-up windows

    Hi All, I have few pop up windows in my VC application. I was using FLEX 1.x compiler before and pop-up windows were displayed properly. But due to that 32K limit I had to upgrade my FLEX complier to FLEX2. Now, I am able to deploy and execute the ap