Binding XML schema to the repetitive elements - what am I doing wrong?

I managed to successfully link a schema to a form of basic and apart from a few problems of active player, it works as expected.

My next project is to do the same thing but with a form that contains repeating subforms.

I wrote my diagram and validated and everything seems fine.  When I connect it to shape if it makes certain fields behave in strange ways.

The form consists of three sections.  The first is a unique subform to repeat fields.  Two of the pieces is a table with the repetition of lines, and the third part is a collection of fields with the Add/Remove button using the instance manager script.

When I bind these fields and add lines, I get strange results.  In the second part by pressing the Add button copies the entire line rather than create a new one.  Changing the value of a line of others change.

In the third part, I can create entirely new subforms by using the Add button, but the this.parent.index + 1; script stops working.

Anyone know why this is happening and how can I solve it?

The pattern is below:

< xsd: element name = "RemoteWorking" >
< xsd: complexType >
< xsd: SEQUENCE >
< xsd: element name = "PartZero" >
< xsd: complexType >
< xsd: SEQUENCE >
< xsd: element name = "RequireAddHardWare" / >
< xsd: element name = "RequireRemoteWork" / >
< / xsd: SEQUENCE >
< / xsd: complexType >
< / xsd: element >

< xsd: element name = "PartOne" >
< xsd: complexType >
< xsd: SEQUENCE >
< xsd: element name = "Name" / >
< xsd: element name = "FirstName" / >
< xsd: element name = "User name" / >
< xsd: element name = "JobTitle" / >
< xsd: element name = "Role" / >
< xsd: element name = "LineManager" / >
< xsd: element name = "Direction" / >
< xsd: element name = "PersonnelCategory" / >
< xsd: element name = "CONumber" / >
< xsd: element name = "TelephoneNumber" / >
< xsd: element name = "BuildingCode" / >
< xsd: element name = "NuméroBureau" / >
< xsd: element name = "WorkingHours" / >
< xsd: element name = "AltContact" / >
< / xsd: SEQUENCE >
< / xsd: complexType >
< / xsd: element >

< xsd: element name = "PartTwo" maxOccurs = "unbounded" >
< xsd: complexType >
< xsd: SEQUENCE >
< xsd: element name = "AdditionalHardware" maxOccurs = "unbounded" / >
< / xsd: SEQUENCE >
< / xsd: complexType >
< / xsd: element >

< xsd: element name = "PartThree" maxOccurs = "unbounded" >
< xsd: complexType >
< xsd: SEQUENCE >
< xsd: element name = "ARTICLEREQUIS" / >
< xsd: element name = "Program" / >
< xsd: element name = "CostCentre" / >
< xsd: element name = "BusinessCase" / >
< xsd: element name = "Device" / >
< / xsd: SEQUENCE >
< xsd: attribute name = "ItemNo" type = "xsd: Integer" use = "required" / >
< / xsd: complexType >
< / xsd: element >

< xsd: element name = "PartFour" >
< xsd: complexType >
< xsd: SEQUENCE >
< xsd: element name = "Unit" / >
< / xsd: SEQUENCE >
< / xsd: complexType >
< / xsd: element >
< / xsd: SEQUENCE >
< / xsd: complexType >
< / xsd: element >
< / xsd: Schema >

The binding expressions must indicate that you have more than one section of PartTwo. To do this you need to add a [*] binding expressions that use the PartTwo node. If you want to keep just bind the subform that contains the information of PartTwo th to the PartTwo node, and then add the [*] at the end of the expression. Then al children of this node will get expressions such as $. Name of the node to which it refers.

Hope that helps

Paul

Tags: Adobe LiveCycle

Similar Questions

Maybe you are looking for

  • Why can't I open the setup.exe file to install a more recent version of Firefox?

    I use firefox 3.6.25. When I try to download and install the latest version, a dialog box opens with the option «Save "or"Cancel".» There is no option to 'open' the executable file.

  • FN keys do not work on my Satellite A350-02 t

    Recently, I pointed out my Fn key does not work, if I press any (F1 - F12) nothing happens, but I don't care, my wireless was pick up automatically. But not today. My doctor of connectivity "(votre wireless dans pas-touche Fn8) answer Yes, I would, b

  • Photosmart 5524: Support for 5524 Photosmart will not print black

    Can not get the HP support pages - all links come with a blank page - so hope someone can help. Changed my cartridges as the weak and printing is poor, and now black ink does not print despite showing in high and genuine HP cartridges ink levels. Fol

  • Cannot recover gamertag

    Hi, I made a microsoft Microsoft on Steam account to play Warhammer 40 k. He stuck to the top with a gamer tag and everthing. I tried to get it back on my Xbox, but I need to LIVE, so I got a gold membership card, but in order to use it, I need a gam

  • SourceFire 6.0.1.1 patch

    Hello Looking for advice on the 6.0.1.1 patch.  I am running 6.0.1 on the FMC and the SFR modules that we have.  I had a pretty negative experience of bugs after updates.  I noticed there are no new features in this version, just problems so I'm curi