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

Dynamic Adobe Forms

Former Member
0 Likes
1,348

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 amneded the script and installed ACF and so on. It still doesn't work in PDF Preview Mode.

When I amended the presence property on a conventional Textfield. It only affects the Value inside the Textfield. E.g. if set the presence to invisible, the text inside the Input field is gone, but the label and the inputfield are still visible, whereas setting it to hidden, doesn't affect the input field at all.

not a really complex problem, but nothing seems to work.

I really assume the preview mode shows how the form behaves once the WebDynpro app including the form has been deployed to server, right?

Former Member
0 Likes

Hi Alexander,

Please use a subform for this field and make the subform invisible based on condition. Hopefully it will work.

Regards,

Arafat