Hello all,
I have been learning and starting to design forms in LC Designer since last week. Due to an assignment, I need to design a 2- page form which is mainly about 3 different products apart from desription and instruction..; let's say A, B and C. What I have not figured out are:
I found an interesting-but-confusing article at http://acrobatusers.com/tutorials/2007/js_list_combo_livecycle
Solved! Go to Solution.
Views
Replies
Total Likes
For the same form you could set the fields that you want to have the same data to the same name and then set its binding property to global.
You can export the data from a form using menu items in Acrobat/Reader then using that same menu you can import them into your new form. Note that the two forms will have to have the same structure and naming convention for the data to bind correctly. You may want to have a master schema to define the data for all forms then you could bind to the appropriate schema items.
Paul
Views
Replies
Total Likes
Regarding the DropDown ...once your user selects an option you will need script to set the rest of the fields the way you want. Something like this:
if (DropDown.rawValue == "A"){
fiedl1.rawValue = "A Name";
field2.rawValue = "A Address";
etc ....
}
if (DropDown.rawValue == "B"){
field1.rawValue = "B Name";
field2.rawValue = "B Address";
etc ....
}
etc ...
The Numeric fields can be used in calculations without issue.
Regarding the last issue using th emultiple forms ....that is a very complex set of code that is needed to control what is going on. If you are not experienced with Javascript or object models then I believe you will find this very difficult.
I woudl suggest you start with the Dynamic Purchase Order sample that ships in the box .....it has behaviour like you describe you want. It uses FormCalc for its scripting instead of Javascript but the concepts are there to be copied. That sample can be found in your Designer install directory under:
EN\Samples\Forms\Purchase Order\Dynamic Interactive\Forms
Hope that helps
Paul
I quite did not undertand at first, but your post is clear to me.
I think I need to embark myself on studying JavaScript a bit more. Still want to design the multiple forms
Great thanks, Paul.
Views
Replies
Total Likes
Can I ask 1 more question on the similar topic?
Not a dropdown list but In terms of a text field (users fill the field randomly), is there ways it can be populated with other text fields? not only on the same page but also
Views
Replies
Total Likes
From the same form is not an issue (that is easy). From a different form is more difficult and requires that the data is extracted from the form as XML and imported into the new document.
Hope that helps
Paul
Views
Replies
Total Likes
Do you know scripts or ways to make the text fields be filled simultaneously and identical?
And in terms of having same data for different forms,you said about extraction and import xml file.
can you give me an idea of how it works, please?
Views
Replies
Total Likes
For the same form you could set the fields that you want to have the same data to the same name and then set its binding property to global.
You can export the data from a form using menu items in Acrobat/Reader then using that same menu you can import them into your new form. Note that the two forms will have to have the same structure and naming convention for the data to bind correctly. You may want to have a master schema to define the data for all forms then you could bind to the appropriate schema items.
Paul
Views
Replies
Total Likes
Views
Likes
Replies