Avatar

Level 2

Update:

So, I realized the reason that the XML was outputting the entire form is due to the way the LC process I created to output the sample XML outputs the data.

Using Adobe Acrobat to extract the XML from the form, it now looks like this:

<?xml version="1.0" encoding="UTF-8"?>

     <Form>

          <ProviderAccessSiteRequestSchema>

               <FacPracNm>Facility Name</FacPracNm>

               <FacPracLn01Ad>1234 Fac Address St.</FacPracLn01Ad>

               <FacPracCityAd>Businesstown</FacPracCityAd>

               <FacPracStateAd>NY</FacPracStateAd>

               <FacPracZipAd>12345</FacPracZipAd>

               <TaxIDNo>000000000</TaxIDNo>

               <SiteAdminEmailAd>jkfhkfkj@yhaoo.com</SiteAdminEmailAd>

               <SiteAdminNm>jhfflk fllhjhfj</SiteAdminNm>

               <UserDesigneeContainer>                <--This is the subform container and subform that I am trying to get to repeat

                    <UserDesigneeSubform>

                         <UserFirstNm>hfhfhfh</UserFirstNm>

                         <UserLastNm>hjkjkjdhkdhkj</UserLastNm>

                         <UserAddChangeDelIn>Add</UserAddChangeDelIn>

                         <UserEmailAd>sjdjdj@hfhfh.com</UserEmailAd>

                         <UserTelNo>(555) 555-5555</UserTelNo>

                    </UserDesigneeSubform>

               </UserDesigneeContainer>

           </ProviderAccessSiteRequestSchema>

</Form>

So the whole "replication of the whole form issue" was my bad.  So that answers part 1 of my original question.

Also - I have used the binding option "UseName" to bind the individual objects from the subform to my schema.

The end effect is also the XML seen above - so it is almost working - but. . . .

I had two subforms in the above example, and only one output data.

So if I had several subforms, what do I have to do so that it will reflect multiple subform instances with data entered into them?

I am trying to get to something like this, say there are 3 subforms:

                <UserDesigneeContainer>              

                   

                     <UserDesigneeSubform>

                         <UserFirstNm>firstname01</UserFirstNm>

                         <UserLastNm>lastname01</UserLastNm>

                         <UserAddChangeDelIn>Add</UserAddChangeDelIn>

                         <UserEmailAd>sjdjdj@hfhfh.com</UserEmailAd>

                         <UserTelNo>(555) 555-5555</UserTelNo>

                    </UserDesigneeSubform>

                    <UserDesigneeSubform>

                         <UserFirstNm>firstname02</UserFirstNm>

                         <UserLastNm>lastname02j</UserLastNm>

                         <UserAddChangeDelIn>Del</UserAddChangeDelIn>

                         <UserEmailAd>bbbbbb@aaaaa.com</UserEmailAd>

                         <UserTelNo>(555) 555-4444</UserTelNo>

                    </UserDesigneeSubform>

                    <UserDesigneeSubform>

                         <UserFirstNm>firstname03</UserFirstNm>

                         <UserLastNm>lastname03</UserLastNm>

                         <UserAddChangeDelIn>Change</UserAddChangeDelIn>

                         <UserEmailAd>cccccc@ddddd.com</UserEmailAd>

                         <UserTelNo>(555) 555-6666</UserTelNo>

                    </UserDesigneeSubform>

               </UserDesigneeContainer>

Any ideas?

Again, thanks in advance.