cancel
Showing results for 
Search instead for 
Did you mean: 

my dynamic script is not working

Former Member
0 Kudos

Hi SDN,

I have written below code in Javascript to make subform invisible depending upon a checkbox but it not working

please let me know where i am making a mistake.

if (data.test.CheckBox1 == '')

{

data.test.Subform1.presence = "hidden";

}

else

{

data.test.Subform1.presence = "visible";

}

regards

rahul

Accepted Solutions (1)

Accepted Solutions (1)

OttoGold
Active Contributor
0 Kudos

Use data.test.CheckBox1.rawValue (the rawValue part as added).

To be able to find all the obstacles yourself, rad the scripting guide here:

http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_ba...

Regards Otto

Answers (0)