cancel
Showing results for 
Search instead for 
Did you mean: 

Event for DDLB on Interactive Form

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)