Record of. PDF with repeatable subforms adds a new Instance.

Hey everybody,

I have worked with dynamic forms LiveCycle Desinger for a few years now, and this is the first time I see this kind of behavior.

I have a very big form in LiveCycle Designer. There or 50 subform repeatable sections. I save the designer, and then open it in Adobe Acrobat X Pro. Acrobat Pro, whenever I have re-record it then re-open, a new instance is added to each subform repeatable.

If I fill it, save it, and then reopen it, he has all my info, as well as a subfrom empty additional below each section.

I have no formcalc in the presave, nor do I have any global fields in my form... In addition, each single repeatable subform named. I am at a loss.

I have a sample of this pdf here. If you have a different file hosting site you prefer, do let me know.

I'd appreciate any help anyone could offer. I don't know what is the cause.

-Scott

Hello again everyone,

I found the answer to my problem. I had a devil of a time from Googling the problem, so I'll put some sentences that I tried below, where like-minded individuals has a similar problem.

The main problem was with data binding. I had left the data binding for all as the default 'using the name (...) '. I was under the impression that as long as the sibling elements have been appointed to the same thing, there is a conflict. I was wrong.

In my form, I used static subforms to organize the fields available in a dynamic repeatable subform. The static subform called "sf_positioning". It happens that this field has an uncle named the same thing. It was close enough to provoke a conflict, making the repeatable subform record an additional instance whenever the data has been saved. This can be corrected in one of two directions... ((1) set one of the subforms wrongful use "no data binding" (use this only if the content of the subform is not be exported or merged) or 2) give the subforms of unique names.

I need to look if everything must be particularly well appointed... As I said, it makes more sense to me that the only restriction should have been on the sibling elements, but I will in the future to make sure there are at least three degrees of separation between just like named controls/subforms.

Hope that helps someone else...

And what follows is some of my attempts at Googling the problem. I hope that this will facilitate the solution to find for others:

-Player which extends shape Dynamics breeze repeating subforms.

-Economy adds a new instance of the repeatable subform.

-Whenever I save, I get more empty instances of a subform repeatable.

-Repeatable subforms not working does not go as planned.

Tags: Adobe LiveCycle

Similar Questions

  • Search for a value in a field in a subform before allowing a user to add a new Instance

    Configuration of the form:

    Name of the page = page 1

    1 subform in Page1 = Info (fixed to slur)

    Objects in the subform Info: name (textfield) and Email (textfield)

    I also have a 2nd subform within Page 1, which contains a button instance add

    What I'm doing:


    1. the user must enter their name and E-mail address, then click 'Add a button to the Instance' to create a new instance of the subform Info : _Info.addInstance (1);

    2. If the user does not enter an e-mail address, I want there to be a message box this info the user address of e-mail is required before, he or she can create a new instance. Note: would be nice if the slider is set to foucs on the email in this particular instance of subform field.

    3. as long as the user tries to add an instance, he or she will be refused if they are not an email in this case

    4. If the user has an e-mail address in this instance, then the script will create adds a new instance

    5. the process should continue in this way for each, each instance button click Add

    I presume that it nees to be a loop and perhaps a scipt for somExpression, but I'm not sure.

    Here's what I have so far (see below)... The script works for the first instance on the page, but this does not prevent instances to be created when the email in the 'current' instance field is empty. I want to prevent the user to add new instances if the email field is balnk in this "current instance. So, I guess I don't know how ot test a field in the current instance in a repeating subform.

    var VNAME = Info.somExpression + ".email";

    var vEmail = xfa.resolveNode (VNAME) .rawValue;

    if (vEmail == null)

    {

    xfa.host.messageBox ("Please enter an email address.");

    }

    else {

    Form._info.addInstance (1);

    var i = Form._Info.count 1;

    xfa.host.setFocus (xfa.resolveNode ("Info [" + i + "].")) Name')); This set is the focus of the cursor in the name field in the newly created subform

    }

    Please advise and thanks in advance!

    Hello

    Try something like;

    var lastRow = Form.resolveNode ("Info [" +(_Info.count-1) + "]"); Get the last row

    If (lastRow.Email.isNull) / / if the email field empty

    {

    xfa.host.messageBox ("Please enter an email address.");

    }

    on the other

    {

    newRow var = _Info.addInstance ();

    xfa.host.setFocus (newRow.Name.somExpression); set the focus to the field name on the line has been added

    }

    Concerning

    Bruce

  • Add a new instance to the top of the next page

    I created a dynamic form of the fluid (a daily report of workers to fill form), which is likely (based on user input) to span several pages. I added a button 'Add a new day' at the bottom of the form, which, as it says, add another day to the shape. However, I can't do the new instance in him to move to the next page, it's just created immediately after the previous instance.

    I tried all the suggestions of other threads to help, but I still can't make it work. The form creates a blank page that I didn't need, or he continues to add the new instance just below the other.

    Any help would be greatly appreciated.

    Hmm,

    This is the script of the conditional jump. Try thi sapproach: https://acrobat.com/#d= * 2f7axX-JHCdLi * SH * pO2Q.

    Niall

  • Help please - at wits end with repeatable subform.

    I know it should be easy and basic, but after about 20 hours, I still don't know what I'm doing wrong.

    I want just one button to add another subform that contains the fields that must be met.

    It is a sign of the event in the journal I want to distribute iPads.  It has some user details then they would click on submit and it would add the subform to the next participant to complete.

    Thank you much, long in advance, for your help.

    http://www.gatorserver1.com/links/SIS-LC-v17.PDF

    I ' watched ved your form and cannot begin to understand the coding you for the add section button (you're away from me), but I can make it work with a simple script.

    1. your subform must be sent.

    2. you define the information in "repeat subform for each data element" in the binding tab

    3. I added a blank space at the bottom of the subform flowed in the Layout tab to make a full page

    4. place the button in the subform flowed

    5. use this script ' Form1.Page1.AttendeeSubform.instanceManager.addInstance (1); "in the click event

    6 examine the properties and make sure that the version "run as" is compatible with what you're doing

    7. save the form a dynamic not a static

    I hope this helps.

  • Delete the blank page with repeated subforms

    Hi all!

    I have a form for the statements.

    Each statement must be set on a new page.

    I solved this with a repeating subform.

    And in the repeated subform properties variable "After" a "go to the next Page.

    This works well with only one drawback. In the end, an empty page is also be created.

    I would like to get rid of this blank page.

    But how is that possible?

    Kind regards

    Anton Pierhagen

    (1) select your repeating subform and add a conditional Break (object > paging > Edit...).

    (2) enter this script: this.instanceManager.count > this.instanceIndex + 1

    (3) select Pause: after and to: top of Page

    4) click OK

    Kyle

  • Add a new instance to the NON-RAC database?

    I could create a new instance to the non-rac database?

    I tried to use dbca to create the second instance, but I read, help, that is not possible.

    There is no way to create the second instance in a single database? (No. - CARS, no. - ASM, just a normal database)

    Thanks in advance.

    Instance = process and memory
    Basis of data = all data files.

    For a database no CARS, there is a one-to-one mapping between the instance and database.

    If you don't want to use an existing database to store the new patterns, you need to create a new database.

  • Is it possible to add non-contiguous instances of a subform

    Hello

    Our staff can fill out a form with repeated subforms 10 ("Add Forum"), for example, then need to go back and add another instance, not after recording 10, but after recording 3.  Or they may need to add records in alpha order.

    How can I configure the 'Add record' button so that the instance is added at this time here in shape, rather than at the end of the records?

    I am this clearly explaining? They need to go back and add an instance between other existing instances...

    Here is the form itself:

    Dropbox - AFBS_90 - Plus_091814.pdf

    A big thank you to anyone who can help me to build in this function to facilitate the life of our staff!

    Laura

    Hello

    There is a moveInstance() method to rearrange the replicable objects.

    See this example of Niall (Chapter 5: a dynamic array (additional features))

    http://assuredynamics.com/wp-content/uploads/2010/11/assure-Dynamics-building-dynamic-tabl es.pdf

  • Several repeating subforms that appear in the order of selection, not grouped.

    Hi all, I have a problem with the repetition of the subforms. In my form, I have several subforms which I want to have the option of repetition through buttons. The problem is I want appear them on the form in the order in which keys were pressed and not appearing in the groups apparently (for example. A subform subform B, Subform subform NOT to, subform A subform B)

    For example:

    -A subform

    -subform B

    -C subform

    Press the button A subform (related to the Action "Add a new instance of A subform") which makes this subform appear.

    Then do the same for the subform B.

    So if you want an another A subform appears I want it to appear in the sequence of those selected (eg. A, B subform, A subform subform) not A of A, B subform Subform subform.

    .

    Any help would be greatly appreciated.

    Hello

    I think the best idea would be to have each of these subforms in a subform.

    When an instance of the any of these subform are added, add subform instance of parent, and hide/show subforms good you wanted to add instances

    For example:

    -ParentSubform

    -SubformA (Hidden)

    -SubformB (Hidden)

    -SubformC (Hidden)

    (Add the instance to SubformA)

    _ParentSubform.insertInstance (ParentSubform.index + 1);

    xfa.resolveNode ("ParentSubform [" + (ParentSubform.index + 1) m:System.NET.SocketAddress.ToString () + "]" "). SubformA.presence = "visible";

    (Add the instance to SubformB)

    _ParentSubform.insertInstance (ParentSubform.index + 1);

    xfa.resolveNode ("ParentSubform [" + (ParentSubform.index + 1) m:System.NET.SocketAddress.ToString () + "]" "). SubformB.presence = "visible";

    (Add the instance to SubformC)

    _ParentSubform.insertInstance (ParentSubform.index + 1);

    xfa.resolveNode ("ParentSubform [" + (ParentSubform.index + 1) m:System.NET.SocketAddress.ToString () + "]" "). SubformC.presence = "visible";

    I hope this helps!

  • Do some required fields in a repeating subform - verified/validated on preSubmit

    I have a form that contains a repeating subform - sense, there is only one subform (Western flowed) with binding set to repeat a 1 Min and Max of 15 (subform extensible so dynamic).

    In the subform are 5 fields (example below):

    First name

    Family name

    Email address

    Age

    Sex (radio button for men and women)

    If the user enters a value for the first name, then the name, the age and the gender option button should become "necessary". Similarly, if the first name value is empty/null, then the fields first name, age and sex radio button should be optional.

    I understand that this can be achieved quite easily if the subform was not repeat:

    If (!) ((this.isNull))) {//if FirstName field is not null

    LastName.mandatory = 'error ';

    Age.Mandatory = 'error ';

    etc.

    }

    else {//if field is null

    LastName.mandatory = "disabled";

    Age.Mandatory = "disabled";

    etc.

    }

    However, how this is achieved in a repeating subform?  If the above script is placed in the repeating subform, it affects ALL repetitive lines in the subform group once rendering. Instead, I need the mandatory conditional status treated on a basis of single instance (online).

    Thanks in advance

    Hello

    I do not see a problem to make this work even with repeated subforms.

    Here's a sample for you.

    https://files.Acrobat.com/preview/7dc1e4aa-5160-4058-a59e-77b77dbf658f

    I hope this helps.

  • Subforms in subforms add the problem of the Instance

    Hello

    I am new to Adobe Livecycle Designer (I use version 8.2.1) but I managed to almost all elements of the long form that I need to produce, with the exception of a section, I'm having trouble getting it to work properly. In the example, I have a subform extensible "organization" subform "Membership" page, which has buttons add and remove instances, which are working properly. But within each instance of this "organization" subform is another subform instance stretch "ExpertNames" with the buttons add and remove instances.

    The 'Body' form allows an organization to be named and the subform 'ExpertNames' allows several members of this organization to be named and associated with each organization. The user should be able to list several organizations of each with one or more members. I can successfully add several instances of the 'Body' form using one after another

    Membership.Organisation.instanceManager.addInstance(1)

    and remove the instance selected using

    Membership.Organisation.instanceManager.removeInstance(this.parent.index)

    I have the following text together on the button to add a new instance of the form 'ExpertNames '.

    Membership.Organisation.ExpertNames.instanceManager.addInstance(1);

    and the following to delete the instance selected in the form 'ExpertNames '.

    Membership.Organisation.ExpertNames.instanceManager.removeInstance(this.parent.index);

    However when I add a second instance of the form 'Body' which is a new organization and try and add additional members to the Organization of the 2nd it adds them to the organisation ofst 1 rather than the second! I have an example in the form of problem I can send if necessary.

    Hope someone will be able to help with this.

    Thanks in advance

    Lara

    Send the form to [email protected] and include an explanation of the question and I'll have a look when I get the chance.

    Paul

  • Objective to Focus when add new Instance

    [LC Designer ES2 9.0] With the help of generator of the Action to add a new instance of subform SITE, where the first field is called SiteName.

    If I set the action to put emphasis to SiteName, the focus switches to the * original * SiteName field of instead of the new instance.

    Users must add usually a number of additional sites, and every time, I want to focus on the first field of the most recent instance, not the original instance. How to accomplish this? Thank you!           ~ Carol

    There is no attachment... can ghoulish you send it to me [email protected]

    Paul

  • I created a pdf with blocks of text to fill out form. Is it possible to add a record button instead of having someone go to produce and record?

    I created a pdf with blocks of text to fill out form. Is it possible to add a record button instead of having someone go to produce and record?

    You can add a save button slot for your file, but not a button Save.

  • What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    Mr President.

    What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.

    --SL_CUSTOMERS table data
    
    
    INSERT INTO SL_CUSTOMERS VALUES(1,'Kamrul Hasan',NULL,NULL,'Moghbazar', 'Dhaka','0456789123',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(2,'Rabiul Alam',NULL,NULL,'Motijheel', 'Dhaka','0567891234',NULL,NULL,NULL,'Y',NULL);
    INSERT INTO SL_CUSTOMERS VALUES(3,'Shahed Hasan',NULL,NULL,'2-G/1,2-2,Mirpur', 'Dhaka','0678912345',NULL,NULL,NULL,'Y',NULL);
    
    
    
    

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG 
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"   
    FOR EACH ROW   
    BEGIN   
    IF :NEW.CUSTOMER_ID IS NULL OR :NEW.CUSTOMER_ID < 0 THEN  
      SELECT SL_CUSTOMERS_SEQ.nextval   
        INTO :NEW.CUSTOMER_ID  
        FROM DUAL;   
      END IF;   
    END;   
    /
    
    
    
    

    When I try to insert several records with the seq.nextval it gives error

    violation of primary key.

    INSERT INTO "ALIZA"."SL_CUSTOMERS" (CUSTOMER_NAME) VALUES ('sdfsd')
    ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    One error saving changes to table "ALIZA"."SL_CUSTOMERS":
    Row 4: ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated
    ORA-06512: at line 1
    
    
    
    
    
    
    
    

    Concerning

    Mr President.

    I find the solution by creating a function before the triiger

    as below

    CREATE SEQUENCE  "ALIZA"."SL_CUSTOMERS_SEQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER  NOCYCLE ;
    
    CREATE OR REPLACE FUNCTION get_SL_CUSTOMERS_vId RETURN VARCHAR2 AS
    BEGIN
       RETURN SL_CUSTOMERS_SEQ.NEXTVAL;
    
    END;
    /
    
    CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG
    BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS"
    FOR EACH ROW
    DECLARE
    dummy VARCHAR2(200);
    BEGIN
      dummy := get_SL_CUSTOMERS_vId();
      :NEW.CUSTOMER_ID := dummy;
    END;
    /  
    

    It works very well

    Thank you all for the suggestions.

    Concerning

  • Please add the option of power/link to download new pdfs with editing in the browser. I have a restaurant customer who is constantly updating their menu! Please help so that they can do it themselves!

    Please add the option of power/link to download new pdfs with editing in the browser. I have a restaurant customer who is constantly updating their menu! Please help so that they can do it themselves!

    Not the answer you want, but you could set up your quick customer with an ftp upload which would replace the existing pdf. I use Transmit and it would allow your customer to simply drag and drop on a folder.

  • Repeating subforms after the application of usage rights

    Hi guys,.

    I was going crazy trying to get this problem solved in recent weeks. No unfortunately I cannot post the PDF because of privacy issues, but I hope you might be able to point me in the right direction for what could be causing the problem.

    The problem

    We lack a problem once the LiveCycle PDF is opened in Acrobat Pro and enabled usage rights. Once save us the PDF file, then open, Extensible subforms start behaves badly. By example, when we re - open this document, rather than the subform with 1 instance (as it should be by default), it opens with several instances of 2, 3, 6, or 20).

    This problem occurs only one time use rights have been activated on the document, and it's always the same number of instances is repeated.

    Details of the document

    The PDF document was created in Indesign and then imported into LiveCycle to apply interactivity. There are a total of 17 pages

    There are several subforms in the entire file on the different pages. Each of these subforms has a button below them which allows the user to add additional instances of the subform (using the built-in script that generates LiveCycle). Each subform has a minimum number of limit 1 and maximum 20. The "original" counter has been set to 1, but it seems that LiveCycle removes this value if it is the same as the minimum number.

    This document does not tie into any database. It is simply an interactive document that allows users to show/hide the pages based on the boxes they check on the first page (some page visibility changes). The idea being, the customer can save the form once they have filled in the required fields, and then send it back, so recording feature is necessary (this is why we need the rights to use).

    What I've tried so far

    I did a lot of reading on the subject, and I've seen mention of people with non-unique names subforms or empty subforms may cause the problem. I checked the document and subforms all have a unique name and there is no form under vacuum.

    As a way to try to identify what elements might be the cause of the issue, I've resorted to deleting several pages of the document to track a specific item which could be causing the problem, however, I didn't have much luck with this. The removal of most of the pages other than the unique repeating subform has resulted in the subform repeat 6 to 8 times (don't remember exactly, but it's already repeated 20 times)

    Any ideas?

    I know it's a bit difficult without being able to see the document directly, but I hope someone might have a suggestion for what I can remember. Is it just screwing things up usage rights, or is potentially something in my code which comes into conflict with the rights of use. The thing I find most confusing on this scenario is the seemingly random to see how many instances. The first subform before loads the available maximum limit, but the rest of the forms more load with only 2 instances (when they also have a maximum limit of 20 pieces).

    I have read a few forums where people suggested Reader Extensions, but according to Adobe system requirements, it does not correspond to what we are trying to reach. There is no database interaction at all - we demand that the ability of users to save the PDF locally.

    If anyone can offer any suggestions for where I might need to look at the issue, I would be very grateful. Thank you!

    Hello

    Your description of the problem is very detailed. Send me a private message if it is possible to send the form to a person instead of posting publicly.

    Here's a thread repeating subforms that can help: registration complete form duplicates subforms I used a line of script console.println to try to help identify the problem.

    I try and minimize the number of subforms flowed and don't use them only where they are required for the content of this subform. In all other cases, use positioned subforms.

    Minimum number serves only one purpose when you have a button that allows you to remove instances. Minimum number of 1 means that the user can delete instances, but not the last remaining instance. Unless you need to, you could take this.

    I don't think that the problem is because the form is activated. There must be something else in the background.

    Try to open the Javascript Console in Acrobat/Reader (by pressing command + J) and see if errors and warnings. Also, put in a console.println script to display the nodes in the console.

    Good luck

    Niall

Maybe you are looking for