cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding a contenet area or subform in Adobe..!

Former Member
0 Kudos

Hi Guys,

              I have a requirement to disaply one window from two different window of info depends on a condition.

I am thinkning of using Content Area or Subform for this.

How to control the visibility of the content area/Sunform through code..?

Thanks for your help..!

Cheers

Sam

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sam this question has been answered many times, a simple search could give you the answer.

In the subform you want to hide in form ready event enter following code.

if <enter your condition here>

this.presence = "hidden";

edit: if you want to use FormCalc:

if <condition> then

$.presence = "hidden"

else

$.presence = "visible"

endif

Also just to make sure we are on the same page, the <> should be removed when you enter your condition.

Be sure to use the syntax check.