on 06-05-2009 4:45 AM
Hi Gurus,
I've a EnumDropDownList element on my interactive form. I have to hide another subform based on the value on this drop down list element. I'm using the change event for the DDLB element. Though the event is getting triggered, my script within the change event isn't working properly.
How should I read the value selected. Though I $.value, the system always enters the else part. Do I need to use any other parameter to read the value selected from the drop down list ?
Please assist.
Regards
Ravikumar
Edited by: Ravikumar Gurumoorthy on Jun 5, 2009 12:15 AM
Hi,
Use JavaScript to use the below code. For any Change event use this code as first line in language JavaScript.
var dropdownvalue = this.boundItem(xfa.event.newText);
Now compare your conditions with the variable "dropdownvalue". It works fine.
Regards
Pradeep Goli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.