cancel
Showing results for 
Search instead for 
Did you mean: 

Hidding the UI elements in adobe form

Former Member
0 Kudos

Hi all,,

I have requirement of changing the visible state of UI elements in the adobe form with a change of state of another UI element

For eg ..

I need to hide a subform (with elements textfeilds,,buttons etc) when i click a checkbox.

I have tried FormCalc script and some foroums..

But thers no result

I have written somethng like dis

if($record.checkfield= 1)

then

Subform3.presence="invisible"

Subform.name.presence="invisible"

else

Subform3.presence="visible"

Subform.name.presence="visible"

endif

wher name is the textfield ID..

I have tried using all Show--change/click/form:ready/calculate.Still lost here..

wher exactly should i place..anyone with the exactcode

I have SP9,Adobe7.0.9

Please i have to solve this,,can any one give solution with exact code.

Swathi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try this like using the hidden

try this

// $.presence = "hidden"

Instead of invisible use hidden. it might works.

if($.checkfield= 1) then

Subform3.presence="hidden"

Subform.name.presence="hidden"

else

Subform3.presence="visible"

Subform.name.presence="visible"

endif

Thanks,

Lohi.

Former Member
0 Kudos

Hi Lohitha,,

I have tried using hidden,,still it my prb is unsolved.

If u have any working code snippet ,,do mention ,,

with the parameters

Show

Language

Runtime

Swathi

Former Member
0 Kudos

Points will be rewarded for helpful answers...

swathi

sankar_narayana
Active Participant
0 Kudos

U can check this link it helps a lot.

Some samples examples for adobe in Adobe Site

http://www.adobe.com/devnet/livecycle/designer_scripting_samples.html

Check this site and let me know weather it is helpful or not

Former Member
0 Kudos

The link isnt working..

page cannot be displayed...

can u recheck and send me again the link

Swathi