How to auto-populate fields in added instances

Hello guys,
Please take a look at my form here:
http://www.4shared.com/document/97ZsPH6r/fpatrcvtemplate_REVA.html
Here is what I'm trying to achieve:
The main goal of this project is to create a template for one
building that is capable of expanding to an unlimited amount of buildings.
Please look at page 8 and 9 (introduction) This section should be set up for
one building with the capability of adding additional buildings with the
"add item" button. This is where the building names and addresses are
entered by the end user.
When the user clicks the "add item" button the form should add another row
to the "Recapitulation of Values" found on page 10 and bind the
corresponding building name to the new row. It is on this page that the end
user will enter all the monetary values for the building. Which should in
turn be linked the new "photos and values" section (see paragraph below)
Also, when the user clicks the "add item" button the form should add a new
"Photos and Values" section found here beginning on page 22. The photos and
values section should automatically bind the building name and address which
were entered on the "introduction" as well as all of the monetary values
that were entered on the "Recapitulation of Values".
The goal is to eliminate the end user from any double entry.
I need help please. Thanks.

Hi,
I can't look at the form now, but it sounds like it will involve a bit of scripting.
I have an example here where the add/delete buttons work on two separate tables: http://assure.ly/eTOXaH. This might help you in the meantime.
Good luck,
Niall

Similar Messages

  • How to auto-populate form fields between documents?

    I'd like to create an interactive form where the user inputs data into different fields and then the data gets auto-populated into other fields in forms linked to the original form. Is this possible with Acrobat XI? If not, then which Adobe product is best suited for this? If it's possible, how difficult is this to do? I don't need exact "how to" tips at this point. I am not a developer and I don't have any experience with Action Script. I'm just researching what products I can use, as a non-techie, to do the job. Thanks.

    Thanks for your reply. I'm having a hard time understanding the functionality on the end-users's side with the different Adobe forms products. I did a little more reading up on this, but it's still not 100% clear. Perhaps you can help clarify.
    Scenario 1: The user does NOT have a copy of Acrobat XI on their end, and  I do NOT have a subscriptiont to FormsCentral, and I do NOT enable import/export features in the form using Adobe LiveCycle Reader Extensions. In this scenario, the user can fill out my form, but they can't save a copy of the completed form on their local drive. I, however, get a copy of the completed form where I can then extract and analyze the data.
    Scenario 2: The user does NOT have a copy of Acrobat XI on their end, but I have have a subscriptiont to FormsCentral. The user can complete the form and save it on their local drive, but I can't have data auto-populate from one to another. (Note: I went to the FormsCentral website and it says "Allow respondents to download the PDF form, print out, save, EDIT and submit later." I interperet that as meaning they can add text to a fillable form and save it on their end.)
    Scenario 3: The user does NOT have a copy of Acrobat XI on their end, but I have enabled the form with LiveCycle Reader Extensions so that I can have data auto-populate from one form to another. However, I have to pay for an Extension license fee. I managed to find the pricing, and it's too expensive for my needs right now. I'm looking to share the forms with students, so this is not an option.
    Scenario 4: The use HAS Acrobat XI. I can get data to auto-populate from one form to another and the user can complete and save on their local drive. This scenarios is not an option for me / Can't get students or schools to pay for a full license of Acrobat XI is not an option at this point.
    Is my understanding correct? If so, I feel like I've hit a dead-end. The only cost-effective solution is to have a simple fillable form without the ability to auto-populate data between forms. Sigh.
    Thanks.

  • How to auto populate a field based on drop down list unless specific item is selected

    Hi all,
    Apologies if I have posted this in the wrong area but I am new to Adobe LiveCycle, JavaScript and these forums.
    I am trying to build an Acrobat form using LiveCycle but am having trouble with the drop down lists.
    Inititaly I simply wanted to populate fields in one table based on the selection of a corresponding drop down list in another table.
    I used the following code and it worked fine:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*].Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[*].Row4.Cell1");
    for (var i=0; i <= fFrom.length-1; i++) {
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
    The problem is that now I want the above code to work UNLESS one of the items in the dropdown list is specifically selected in which case I want the text box in the other table to display a message such as "Enter details in the field below".
    I have tried to create an If Else statement using the following code:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*].Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[*].Row4.Cell1"); 
    for (var i=0; i <= fFrom.length-1; i++) {
         if (fFrom.item(i).rawvalue = "Option 3"){
         fTo.item(i).rawValue = "Enter details in the field below";
         else {
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
    The code now populates the field with "Enter the details in the field below" no matter what item I select from the dropdown list.
    Your help is greatly appreciated.
    Cheers,
    ozzy_q

    Follow Up:
    Ok so ive changed things up a bit and have had some more success.
    I have used a Switch statement in my For loop to perform different actions based on the item selected.
    The code looks like this:
    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)
    var fFrom = xfa.resolveNodes("Workbook.Content.Table1.Row3.AppropriationDetails[*] .Row4.Cell1");
    var fTo = xfa.resolveNodes("Workbook.Content.Table2.Row3.AppropriationDetails[* ].Row4.Cell1");
    for (var i=0; i <= fFrom.length-1; i++) {
         switch (fFrom.item(i).rawValue)
         case "Option 3":
         fTo.item(i).rawValue = "Enter the details in the field below";
         break;
         default:
         fTo.item(i).rawValue = fFrom.item(i).boundItem(xfa.event.newText);
         break;
    This code solves my problem but has thrown up a new issue:
    When i select Option 1 or 2 from the dropdown list  the change in the text field is instantaneous, however if I select Option 3 it wont appear in the text field until I either select Option 3 a second time or select another item. Its as if the text field is a selction behind what I have enterd in the dropdown list.
    Any thoughts?

  • How to Auto-Populate a User Data Picker?

    I understand how User Data Pickers work (mostly).  We have used them during the shell creation process to allow the creator to specify which users may access the shell and in what user groups they will be placed.  This works fine— as the shell is created, these users are added and assigned to their respective groups.
    From the documentation, User Data Pickers are supposed to support auto-population, but the system does not allow me to select a suitable source from which to pull.  For example, the shell attribute form contains a User Data Picker that contains the name of the PM that was assigned to the shell.  Say I have a BP in that shell on which I want the PM’s name to appear.  I’m thinking I would place a User Data Picker on the BP and auto-populate that field from the shell attribute user data picker, but uDesigner doesn’t allow the attribute form as source as it does for other DE types.  This is important as this field, the PM’s name, must be located on the BP if I’m to use it in a LiveCycle report.
    Short of having the user select the name again within the BP, how do I pass the names of shell members that were selected during shell creation using User Data Pickers?
    Thanks.

    That works!  Thanks Rich for clarifying your above posts with the screenshots. 
    Rich’s solution as it worked for me:
    1.  Add a User Data Picker to the shell attribute form.
    2.  Add a DE of DD SYS Medium Name to the shell attribute form.  The DD type appears critical here and was my mistake in the past.
    3.  Auto-populate the DE created in step 2: Source Name-->Data Picker; Source Element-->uuu_user_name (in this case).
    4.  On the BP, place the same DE as step 2 and auto-populate (or link) it to the same DE on the shell attribute form.
    What I didn’t expect:
    1. User Data Pickers on BPs cannot reference User Data Pickers on shell attribute forms.  Why do we need additional fields to link two other fields of the same type?
    2. In operation the auto-populate, setup in step 3 above, occurs immediately as if it were a formula instead of just populating upon the shell creation stup as it would on BP creation.

  • Auto-populate fields in Custom Object Based on Another Record

    Hello,
    I am hoping to auto-populate a few default values in a new Custom Object record based on an associated Lead record. The layout is this:
    I use the Lead record to take care of most of the information in the sales stages until the product is sold. The Lead record has fields to record information for a one product sale. The sales person can then use the Custom Object (called 'GX Additional Product') (which shows up in the Related Information section of the Lead record) to add additional items to a sales order request. Many of the fields in the GX Additional Product (custom object) record are identical to fields already filled out in the Lead record.
    What I would like to do, is when a new GX Additional Product (custom object) is added to the Lead record, those identical fields already filled out in the Lead record, by default, populate the corresponding fields in the new GX Additional Product (custom object) record.
    Is this possible? Is this something that can be done with JoinFieldValues? If so, I've had a bit of confusion trying to set up a JoinFieldValues expression.
    If you have any information to share that would be helpful, that would be greatly appreciated! THANKS!

    Hi,
    You can use JoinFieldValue to Custom Objects from other entities, cause you will have other objects' ID recorded inside the CO's, when you open a new detail record associated with the parent. Make sure your custom object is showing as a detail section (N:1) into lead´s main page. Try with one field first, using the exact syntax provided at samples listed at product documentation.
    regards,
    Flavio Amorim
    Brazil
    www.triscal.com.br

  • Auto populate fields in Numbers for iPad

    Hi all,
    I'm looking to set up a quotation sheet in Numbers on the iPad.  I'd like to be able to get the fields to auto populate when a product code is entered.  Is there anyway to do this in Numbers on the iPad or am I asking to much?

    You can use the "Custom Calculation Script" in Acrobat. How to do (not so simple) form calculations by Thom Parker. Text field values can by accessed like a number in Acrobat with custom calculation script. The "+" operator is not only the additive operator but for string values is the concatenation operator.

  • Using a rule to auto-populate fields

    I'm using InfoPath/SharePoint 2010.
    I work for a law firm and I am designing an InfoPath form for a SharePoint portal. We have a database will a list of matter numbers and names. One of the fields is called, Matter number and the other, Matter name.  I want users to be able to type
    in the matter number, and have that number validated against the database to auto-populate the matter name in the matter name field. Does anyone know how I would be able to do that?

    This would be done in InfoPath.
    Click on your Matter Name field and then select properties. For default value, select the data source as your other data source and then highlight the Matter name field. Click filter data and use the form field for Matter number.
    Check out this article:
    http://blogs.msdn.com/b/bharatgupta/archive/2013/03/07/create-cascading-dropdown-in-browser-enabled-infopath-form-using-infopath-2010.aspx
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Tabular form - how to auto populate a column with the user name

    Hi,
    I have a tabular form with 3 columns - (customer name, notes, user). my users are allowed to enter customer details in the notes section... as soon as the user completes notes section and save the form, I want "USER" field to be auto populate with the user name so that I may track activity by the user...
    Please advice how to accomplish it...
    thanks in advance

    Hi,
    After user saves the forms that means commit to the database, so you can simply write a trigger like:
    CREATE OR REPLACE TRIGGER "AUDIT"
    before insert or update on TABLE1
    for each row
    begin
    :new.user_field := nvl(v('APP_USER'),user);
    end;
    Regards,
    Aljaz
    Edited by: Aljaz on 4.3.2012 22:03

  • Auto populate fields based on dropdown selection

    New to forms and needing some insight
    Is there a way to auto populate a series of fields based on the selection of a dropdown box
    for instance;
    chosing a customer's name from a dropdown box would auto populate the address, city,state zip etc...

    Yes, but not easy and you do not want to have a large number of items.
    Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1 by Thom Parker

  • How to auto populate data values on Material Class in Classification?

    Hi,
    I created 10 characteristics and assigned them to a class (type 001 for Material). This class I added in Material Master under Classification.
    These 10 characteristics contains 2 key values where these 2 values able to retrieve the rest of 8 characteristics, which stored in different customize tables.
    Is there a way to make when user enter 2 key values of the characteristics in the class and the rest of 8 characteristics would be auto populate base on these 2 key values?
    USER_EXIT or something?
    Please help.
    Aish  T.T

    Hello,
    You can either use jquery/jaavscript or infopath form to achieve this. There is no default way to do this.
    I would suggest jquery because you can put script in newform/editfor.aspx page using content editor webpart. Refer this link for jquery:
    To get value from list:
    http://social.technet.microsoft.com/Forums/en-US/ac47fe2a-ccb6-4f5b-b274-703aecc6cb0a/get-list-items-in-sharepoint-2010-by-using-jquery
    http://www.robertkuzma.com/2010/08/read-list-items-using-sharepoint-web-services-and-jquery/
    To set value in column:
    http://paulgalvinsoldblog.wordpress.com/2009/06/13/quick-and-easy-use-jquery-to-set-a-text-field%E2%80%99s-value-on-a-sharepoint-form/
    http://spservices.codeplex.com/discussions/468729
    If you use infopath form, then you need to create two data connection to get data from both lists. Later you can set value in fields based on selection using rule. This can be possible without code.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to auto-populate dates in a calendar based on radio buttons?

    Hi,
    I'm trying to create an availability form that is submitted on a monthly basis. What I'd like is to have a radio button the user could click to indicate what day the first of the month falls on (Monday through Sunday), and have fields auto-populate with the remainder of the dates on the calendar. As it stands right now, I've got the radio buttons and the text fields, but I'm running into serious issues getting the text fields to auto-fill based on the selected radio button.
    I've labelled the radio button group "First Day of Month" and the individual values are "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" and "Start". The "Start" button is hidden but is checked by default.
    My text fields are even simpler: "Monday 1" "Monday 2" "Monday 3" "Monday 4" and "Monday 5" (and then, obviously, repeated for each day of the week.
    I am horrible at scripting, so I think that might be where I'm running into issues. What I'd like to put is something like this (only, you know, functional, and for each days' text value):
    For "Monday 1"
    if "First Day of Month.value" = "Monday", "Monday 1.value" ="1"
    else "Monday 1.value" = ""
    For "Wednesday 3"
    if "First Day of Month.value" = "Sunday", "Wednesday 3.value" = "11"
    if "First Day of Month.value" = "Monday", "Wednesday 3.value" = "17"
    if "First Day of Month.value" = "Tuesday", "Wednesday 3.value" = "16"
    if "First Day of Month.value" = "Wednesday", "Wednesday 3.value" = "15"
    if "First Day of Month.value" = "Thursday", "Wednesday 3" = "14"
    if "First Day of Month.value" = "Friday", "Wednesday 3.value" = "13"
    if "First Day of Month.value" = "Saturday", "Wednesday 3.value" = "12"
    else "Wednesday 3.value" = ""
    For "Sunday 5"
    if "First Day of Month.value" = "Sunday", "Sunday 5.value" = "29"
    if "First Day of Month.value" = "Friday", "Sunday 5.value" = "31"
    if "First Day of Month.value" = "Saturday", "Sunday 5.value" = "30"
    else "Sunday 5.value" = ""
    Is this possible? I have no doubt there's a better way to do it (with proper coding and everything), so any help would definitely be appreciated!

    Hello,
    Which sharepoint edition you are using? I would prefer to customize your list form in infopath form then add new connection which will connect to your SQL. Later you can filter data based on cust ID. Here is the link to add connection in infopath:
    http://office.microsoft.com/en-in/infopath-help/add-a-data-connection-to-a-microsoft-sql-server-database-HP010092823.aspx
    If you want to do it via code then simple ADO.NET connector will help.
    http://www.codeproject.com/Articles/33862/Connecting-to-Database-Using-Custom-Webpart-in-Sha
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Can I auto-populate fields in a pdf form based on responses in other fields (using Acrobat XI PRO)?

    I am creating a fillable pdf form using Acrobat XI Pro and would like to be able to auto-populate text fields in one section of the form based on responses entered by respondents in an earlier section.  Is this possible?  If so, would it function for respondents using Adobe Reader to complete the form?
    Many thanks,
    Andy

    Thanks, George!  In the form I am creating, I ask respondents to identify a number of organizations that they work with.  For example, I ask "Please list up to ten organizations" and then I provide ten text boxes for organizations 1-10.  I then ask a series of follow up questions (radio buttons, check boxes, and rating scales) about each organization.  I would like to auto-populate the fields of those follow up questions with the names of the organizations that the respondents had written.  Does that make sense?  Will this require JavaScript?  My hope is to avoid complicated scripts that may give respondents technical problems with the form.  Thanks again,
    Andy

  • How to Auto-populate TextField in Acrobat x with a value determined by user check box selection?

    I have a group of 3 Check Boxes for user to select their Work Shift:  The check boxes are set up to be mutually exclusive (same name: "EMP_Shift", different Export Values: Day, Evening, Night).
    Form Field properties name:      EMP_Shift (for all 3 check boxes)
    Acrobat edit panel field names:  EMP_Shift#0, EMPShift#1, EMPShift#2
    Export Values:                         Day, Evening, Night (chose these only because they are descriptive)
    I need to Auto-populate a Text Field named EMP_WorkShift with "Day" if EMP_Shift#0 is selected, "Evening" if EMPShift#1 is selected, or "Night" if EMPShift#2 is selected.
    Is there a script I can use to accomplish this in Acrobat Pro X.

    The simplest is to set up the text field to be calculated using the following custom Calculate script:
    // Get the value of the check box
    var v = getField("EMP_Shift").value;
    // Set this field value
    event.value = v !== "Off" ? v : "";
    You'd normally set the text field to be read-only, but if you want the user to be able to edit the text field, you can instead use the following script in the Mouse Up event of each check box:
    // Get the value of the check box
    var v = event.target.value;
    // Set the value of the text field
    getField("EMP_Workshift").value = v !== "Off" ? v : "";

  • How to auto populate a column/SharePoint list with Current Date?

    I have a SharePoint list and I created a column called ‘CurrDate’. 
    I need this column to;
     Display the current      date,
    Auto populate all rows with the current date in the      SharePoint list
    Dynamically update with the current date
    I first tried creating the column using the default SharePoint interface Date Time but it’s not doing any of the steps listed above:
    I even tried entering =[Today] in the Calculated Value field. 
    Still nothing…
    So, I’m sure you will toss out a code snippet to make this work, which is great. 
    However, I’m a total noob with SPD, where the heck do I insert this snippet?
    Always in need of help.

    Hi ,
    I understand that you want to add a column  to a list to hold current date. Here is a workaround:
    Add a single line of text column to the list. Name the list as Today.
    Add a calculated column to the list. Use the [Today] as the formula. Set the calculated column to be Date and Time type.
    Delete the Today column from the list.
    Thanks,
    Entan Ming
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please [email protected]
    Entan Ming
    TechNet Community Support

  • How to auto populate numerous pdf files with same name and address?

    I have numerous pdf files where a company's name and address will need to be entered onto each file.  Would there be a way to enter this information once, say on an excel file or something, and then have this information auto populate all the correct fields in each and every pdf file I have to fill out.  I am a complete rookie with Adobe Acrobat.  At any one's convenience please let me know or point me in a direction where I can possibly learn this for myself.  If Adobe offers this type of service please let me know which department to contact.
    Thanks,
    John

    If you were an InDesign user, you could layout the document there, and use the Data Merge feature to bring in the names and addresses from Excel. Then create a PDF of the resulting file which could be split into individual PDFs.
    There might be a way to do it similarly with Microsoft Word and Mail Merge.

Maybe you are looking for

  • CPU Usage 100%? K8N Diamond Plus

    Never before have I witnessed the CPU being used at it's absolute maximum.  It has been occuring regularily with my system.  I noticed it first when my screen saver started getting jittery.  This seems to occur most often about 1-2 minutes after wind

  • The user id "sa" is getting locked frequently in SQL server 2008 R2

    Hi Team,  We have SQL server 2008 R2 machine and recently i'm getting issue with the user id "sa" as its getting locked out. I;m not sure with the reason caused with this. I need to login to the SQLserver with windows authentication and manually unlo

  • Re: Retrieve operational attributes

    Dear all, Do you have any concrete Java program example using standard Java API provided by JDK1.3.1 to retrieve the operational attributes of a entry stored in Sun One Directory Server? Thanks! Calvin

  • Photoshop error on start up.

    When ever I open Photoshop CS6, I get this error about 90% of the time. Thoughts? I am updated to the newest version.

  • Format Chart

    Hello Friends, Value axis in graph is displaying below mentioned values in webi report: 100 50 0 x y z But I am expecting below values without increasing graph hieght...Any idea please? 100 75 50 25 0 x y z Version using BI4.1 Thank you,