on 2008 May 08 1:39 PM
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?
Hi Alexander,
ACF is a pluggin for UI elements like buttons, textfields, radiobuttons etc. We have to install ACF in order to make these fields work correctly. If you are writing the same code as you have mentioned in the post then change it as following:
1. if you want to show the subform.
var check = CheckBox1.rawValue;
if (check== '1') {
Subform3.presence="visible";
}
2. if you want to hide the subform.
var check = CheckBox1.rawValue;
if (check== '1') {
Subform3.presence="hidden";
}
I hope it will work.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
11 | |
10 | |
10 | |
9 | |
8 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.