cancel
Showing results for 
Search instead for 
Did you mean: 

How to Hide a Subform in an ADOBE Form

Former Member
0 Kudos

Hi All,

I need to hide a subform, if the table(Under this subform) does not have the Data. Otherwords, if the Table is empty, the entire subform should be hidden.

Please provide me a sample code using Javascripts and without using the Javascripts.

Thanks in advance and your help in this regard is appreciated.

Regards,

Anand

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

take this example.. formcalc scripting write this logic on the table subform

if(data.Bodypage..Table1.#subformSet[0].Row1.Cell1.rawValue == null and

data.Bodypage.Table1.#subformSet[0].Row1.Cell2.rawValue == null and

data.Bodypage.Table1.#subformSet[0].Row1.Cell3.rawValue == null and

data.Bodypage.Table1.#subformSet[0].Row1.Cell4.rawValue == null and

data.Bodypage.Table1.#subformSet[0].Row1.Cell5.rawValue == null )

then

$.presence = "hidden"

else

$.presence = "visible"

endif

thanks,

Madhukar