cancel
Showing results for 
Search instead for 
Did you mean: 

Tables In Adobe Forms

santhosh_patil
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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