on 06-03-2011 5:35 AM
Hi,
I am developing interactive offline form (orientation: Portrait).
I have table with so many columns. The form looks too squeezed and ugly.
The reason why i use table is to have "add" or "remove" table row functionality (dynamic).
Question:
1. Is there any better way to handle table with too many columns ? kindly share your experience.
2. I try to use table section to split 1 row into several rows (is my understanding correct that section can be used to split table row?).
The "add" row functionality doesn't work the way i want it.
Example:
- Row 1
-- section A1
-- section B1
when i click add, it becomes:
- Row 1
- Row 2
-- section A1
-- section A2
-- section B1
-- section B2
what i expect is:
- Row 1
-- section A1
-- section B1
- Row 2
-- section A2
-- section B2
3. I have a table type data dictionary in my adobe form context. When i drag and drop this table type to adobe form, in the hierarchy palette it becomes a SUBFORM instead of TABLE ? Is this a correct behavior ?
Thanks.
Hi Max,
You table is coming like a subform in the hierarchy thats a correct behavior. In all ALD 8 onward versions it comes like that only.
You can adjust the table as a form with multiple instances to show it in a better way.
You just need to change the design of the table in such a way that it looks like a form on the screen:
Suppose you have a table: TAB1 and colums COL1 and COL2....COL.n, so instead of
_____________________________
COL1 | Col2 | ................COL..n |
-
........................... |
-
you can display it as:
Col1: ______________
Col2: ______________
.
.
.
Col.n: ______________
Be very careful about bindings. Just change the design and don't touch the bindings.
Use addInstance() method to add row and removeInstance() to delete row.
Hope it will be of some use.
Regards,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vaibhav,
I noticed about the subform last week as i read Adobe Life Cycle Designer documentation.
Thanks for your answer. I did the same as what you mentioned (using subform instead of table).
The only issue that i have at the moment is that:
After i add several subforms, enter the relevant data, save PDF.
When i re-open the PDF file, only the 1st subform is displayed. The subsequent subforms are not even in the form.
Search SDN, found 1 similar issue. The solution is to set the binding from "Normal" to "None".
But it still doesn't work for me.
I am still trying to figure what went wrong.
Thanks.
Hi Max,
If the issue is with a form in offline mode then It seems the issue with the binding.
Please check the binding of respective subforms and elements:
Lets take one example suppose you have a table node: IT_DATA (Cardinality 0...n/1...n)
having fields: FIELD1, FIELD2...FIELDn.
The subform on the form is: SUBFORM_OUTER and SUBFORM_DATA.
The layout is as below:
-
SUBFORM_OUTER----
SUBFORM_DATA---- | ||
FIELD1 : ___________________ | ||
FIELD2 : ___________________ | ||
FIELD3 : ___________________ | ||
. | ||
. | ||
FIELDn : ___________________ | ||
-
Now, The binding should be like:
SUBFORM_OUTER---->IT_DATA
SUBFORM_DATA---->DATA[*]
FIELD1---->respective field in IT_DATA->DATA[*]->FIELD1.
FIELD2---->respective field in IT_DATA->DATA[*]->FIELD2.
.
.
.
FIELDn---->respective field in IT_DATA->DATA[*]->FIELDn.
For addInstance() and removeInstance() use Subform "SUBFORM_DATA".
This is what I can suggest as of now. Please check it and revert if its a different issue.
Regards,
Vaibhav
I am using Adobe Lifecycle Designer 8.1.2
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.