cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic Adobe Forms

Former Member
0 Likes
1,351

I am currently working with NWDS 7.14 and Life Cycle Desiger 7.1. My Requirement is the following: dependent on a user input (e.g. selected checkbox) i want to switch the attus of certain ui elements to "invisble".According to some previous posts, I use the follwing JS-code to achieve the described functionality:

var check = CheckBox1.rawValue;

if (check== '1') {

Subform3.presence="visble";

Subform3.presence="hidden";

}

(the code lies in the exit event of the checkbox)

unfortunately, nothing happens, the code does not work.

Could anyone please provide help?

View Entire Topic
Former Member
0 Likes

I just installed ACF on my system, but no change in behaviour so far.

As far as I understand ACF is a kind of a plugin for the Internet Explorer, but the Form is shown in Adobe Reader, so therefore I do not understand how the installation of ACF could affect the behavoiur of the rendered Form in Preview Mode in NWDS/Life Cycle Designer...

Former Member
0 Likes

If your pdf type is put as activex, ACF is rerquired. else you can set the value as native in the interactive form properties.

If you are trying in the formcalc. You can try out writing the script in the click event of the check button.

if ( $.rawValue == 'X' ) then

$.parent.<SOM hierarchy>.presence = "invisible"

else

<.

endif.

You can try debugging it manually by setting a text field to see the value changes.

You may also use java script. But for these simple scripts, it is recommended to use form calc.

Thanks and Regards,

Antony John Isacc.