Highlighted

Extensive and dependent forms

Avatar

Guest

15-07-2008

Hello everyone.



The scenario is the following:

There is some forms that need to be fill out sometimes by the customer side and others by company side. The initial form will be filled out by the customer and some of those data are required on the another forms.



How could LiveCycle help?



I've seem something about export/import data using XML. How that works?



Thanks in advance!



Diego

Replies

Highlighted

pguerett

15-07-2008

I assume that you woudl create two different forms (one for customers and one for companies). If you build them based on the same data structure then you should be able to export/import data from one form to the other.
Highlighted

Avatar

Guest

23-07-2008

What do you mean with "same data structure"?

I already have two different forms as you said but they don't have exactaly the same fields, just some of them like Name, Address, Phone.



Thanks



Diego
Highlighted

Avatar

Guest

23-07-2008

Any idea?



Actually I have various documents (contracts) that has same data like Name, Address, Phone. And I'd like to fill out just once.



Thanks



Diego
Highlighted

pguerett

23-07-2008

By the same structure I mean if you look at the heirarchy view ten starting with form1.Page1.subform1.fieldnames



All fields that you wantto be the same across all forms should have the same names and structure.
Highlighted

pguerett

24-07-2008

You will have to submit the data to a server or you will have to Reader Extend the PDF to allow for a local save.
Highlighted

Avatar

Guest

31-07-2008

Ok, but that's the point: they are completely different forms and don't have the same data structure.



Example: If a checkbox option was choice on the first form, I need to show or hide a subform and copy some information on the second form.



Is there a way that I can read the XML data by the importData function and do the actions at this second form?



Thanks in advance.
Highlighted

pguerett

05-08-2008

You could load the data into the data dom but beacuse the data is not bound to any fields in the data you will have to interrogate the data dom to find th evalues that you want. This is doable but it will require soem signicant code. Do you have any programming experience? If not I would not attempt this. If so I can help you. Let me know which way you want to go.
Highlighted

Avatar

Guest

05-08-2008

Paul,



I have that skills, actually I've been working with many languages involving web development like Javascript, PHP, Java and now Javascript in LC Designer.

Could you tell me the way I need to follow to achieve the solution?



Thanks again!



Diego