on 02-06-2012 8:22 PM
Hello,
I have a requirement to display a table based on condition.
Based on the condition only one table should be displayed.
Table 1
Table 2
If (X==1)
Display table1
else.
Display table 2.
Endif.
Please provide the solution to achieve this.
Thank you!
Regards,
Patil
hi Santhos,
In Adobe forms their is script editor you could able to write code in that for your senario
like you can move the
example:
if ( main_sf2.charter_only.CHARTER_DOC.rawValue eq "1" ) then
main_sf2.pts_it_res = it_tab1 "Moving table1 to internal table
else
main_sf2.pts__it_res = it_tab2 "Moving table2 to internal table
endif
or if you report you could do that condition in report and them move to final table and call in adobe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friend,
There is many ways to achieve this. For example if you have two tables and the number of fields for two table is same then you can dynamically fill the table in the interface based on your condition and pass that value alone to the form so that you can achieve your requirement.
Else if you are comfortable with Java code there is an option to hide a table row in Adobe form. The code for that is
Table1.Row1.instanceManager.removeInstance(<rowNumberHere>);
So there also will be an option to hide a table in that. (Since i am not worked in Java Script i cant tell you much in Java Script).
Also see this link which will be helpful to you.
Link : [Adobe Form - Hide a table row if a condition met|;.
I think this will help you solve your issue. If you face any issues in this please revert back to me i will help you.
Thanks,
Sri Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.