Is there a way in LiveCycle to automate the creation of Objects at Design time ? Not a Dynamic form.
I need a way to create a table (or other Objects) with multiple Rows based on code !
Example: I have an Excel document with multiple rows and columns & need to create a simple form
Question | Answer | Comments |
Did you like the Product | Yes, No | |
On a Scale of 1 to 10 | ## | |
Other Comments | | |
What I would like to do is write code that automates the whole process ( I will write the translation from the spreadsheet to code ) .
The code should be similar to
1. CreateATable ( "Table1", #Rows, # Columns, xPos, yPos )
2. Table1.Row0.Cell1.Text = "Question" ; Row0.Cell2.Text = "Answer" ; Row0.Cell3.Text = "Comments" ;
3. Table1.Row1.Cell1.Text = "Do you like the Product"
Table1.Row1.Cell2.ObjectType = DropDown.Field ; Row1.Cell2.ObjectValues = "Yes", "No" ;
Table1.Row1.Cell3.ObjectType = TextField
etc.
** This code will run at Design time to allow extra formatting. Need the form to be XFA.
Aubrey