Expand my Community achievements bar.

multiple occurences

Avatar

Level 1
This can't be all that difficult,

the documentation and tutorials just don't make it clear to me how to do this:



I am building forms from XML schemas.

There are numerous instances in the schemas

where either a single element or a group (sequence or choice)

repeats, the number of repetitions changes from instance to instance

and is known to the person filling out the form.



LS is just dropping these elements and groups from the form views.

How do i get them to 1)show up and 2) replicate themselves to the user.



tx, John
7 Replies

Avatar

Former Community Member
The schema merely defines the structure that is to be used. If you have multiple occurances you can indiacte that in the binding by using a [*] on the node that is repeated in the binding expression. Also in the subform tab that is bound to this node you need to check off that you are allowing multiple occurances.



Now when data is merged, if there are multiple nodes then the form will add the fields automagically for you.



If you want to add nodes for data imput by a user there are commands that you can use to add subform instances.

Avatar

Level 1
Paul,

Thank you for your quick response.

Maybe I'm just slow but I still need help here.

I am working with a trial form based on an original XML schema.

In the schema there are two elements with [1-3] optional mulitple occurrence and one group of elements with [unbounded] multiple occurence.

I have ascertained that the repetition in the binding in the Object Library is set to [*].

When I save the form design as a dynamic XML file and open it with Adobe Acrobat, the form has blank space where the two individual elements and controls fall on the design form. The group item appears three times, overprinting upon a succeeding element and control.

This won't do, you know.

Can you give me more explicit step-by-step instructions?



tx,John

Avatar

Former Community Member
What we described so far is how to bind between data file and form. We also have to have a form structure that will allow the sections that are required to grow. The root container for these repeating subforms must be flowed (so that they can shrink and grow) as well we need to indicate that we may get more than one element. With focus on the repeating subform open the Object palette and set the multiple occurances checkbox on the Binding tab. Now make sure that the container subform (the one that holds these repeating subforms) is set to flowed (in the Object palette). If you are still having problems, send the form and schema to livecycle8@gmail.com and I wil have a look. If you have sample data that woudl be useful as well.

Avatar

Level 1
Subject:

Please post on the Web -- multiple occurences

Date:

Mon, 23 Mar 2009 10:43:59 -0700

From:

adobe.livecycle.es.designer@www.adobeforums.com

To:

John.Tucker@noaa.gov



For your protection, this mailing list does not allow unauthenticated posts by email. Please re-post through the Web. Go to multiple occurences. Then you can copy/paste this message into your

Web browser.

--------------------------------------------------------------------



or -- chistletoe at comcast dot net

Avatar

Level 1
Paul,

I tried to send you an email with 3 attachments totalling

20 megabytes ... a bmp screenshot, my schema and a form from

one of your competitors which does exactly what I want ...

This forum won't let me post stuff like that here. I'd

like to learn how to do this ... there may be certain advantages

for us to use your product.



thanks,

John

Avatar

Former Community Member
send it to livecycle8@gmail.com. You may want to zip it into a single file to reduce the size.

Avatar

Level 1
Hi Paul,

For just a minute I thought you had it ... I do have already the "Area Surveyed"

group as a flowed subform. but I went back and found the page as a whole was

"positioned" so I changed it to flowed as well. No luck, it still doesn't look

right and I still can't seem, as a user, how to bring up the "State or Territory" and

"Sublocality" controls and then make them to repeat.

Here is my latest template.

I previously sent you the InfoPath form only to give an example of what we

are looking for. At present, converting InfoPath templates to Adobe templates

is not useful. At the outset of our search we were looking for software products

which fully utilized the W3C XForms standard, but alas, it appears to me that large

software houses still do not have enough confidence in their own products to

give them a chance to compete on a level playing field ... thanks anyway for the

leads.



John



livecycle livecycle wrote:



To be able to get that dialog to appear the field must be wrapped in a flowable

subform. The subform container is what gives it its repeatable property. You did

not include the template that you have created.



I do not know much about InfoPath but we do have an import mechanism for

those files. If you File/open then choose XSN as your import file type, a wizard

should start and walk you through th econversion. I do not know how good or

bad the conversion is but it is worth a try.



I suggest that you contact the Washington Sales office. I am sure that they woudl

have dealt with this at other agencies and may be able to provide you better

InfoPath to PDF techniques than I can. If you need a contact let me know and I

will get you one.



Paul