cancel
Showing results for 
Search instead for 
Did you mean: 

hide attributes in adobe interactive form.

Former Member
0 Kudos

Hi All,

Can anybody help how to how to hide/show attributes in adobe interactive forms?

The scenario is like this:

In data view there are 2 attributes a1,a2. Currently i am showing both the attributes in the form. But only that attribute will be shown which will contain data, other will remain invisible. how to do it?

Thanks in advance,

tubai123

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

you can go for FormCalc Script in Script Editor.

In the initialise event of both the fields , write this Script :

if (HasValue($)) then

$.presence = "Visible"

else

$.presence = "Hidden"

endif

This will hide your fields with no data.

Former Member
0 Kudos

Hi,

You can apply the following script in the scipt editor

Select initialize event from the drop down box

if ($.isNull) then

$.presence = "hidden"

endif

in adobe forms. It will hide the Contents.

Thanks,

Krishna

Edited by: thandava Krishna pittala on Oct 12, 2009 6:22 PM

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You should ask this question in the Adobe Forms forum since this work has to be done within the form using JavaScript/FormScript. On the other hand, you should consider if such a dynamic requirement is really a good fit for interactive forms. Changing the layout of the form in script can invalidate a signature and is generally not recommended because of the scripting complexity involved.