on 12-17-2008 4:07 PM
Hello,
I am having a Radiobuttonlist in my form with options as Yes or No. When i click on 'Yes' I have to make a Dropdownlist as Invisible and when i click on 'No' I have to make that Dropdownlist as visible.
In my form i am having three pages, in the first page there is a subform within that subform i had kept these Radiobuttons and dropdownlist.
Page1
-->Subform
-->Radiobutton
-->yes
-->no
-->Dropdownlist
In the *click method of Radiobutton i have writtern the javascript.
My problem is that, this is not working in this form that too in that particular page(Page1), I have tried the same with other pages in the same form but its working fine. When I tried the same by creating a new form it is also working.
Can any one tell me what will be the problem in this.
Hey Arunagiri,
If you want it to work, you could try to reference the Dropdown with an absolute path, so for instance, in Javascript...
if (this.rawValue == "Yes") {
Page1.subform.dropdown.presence = "invisible";
} else {
Page1.subform.dropdown.presence = "visible";
}
I have done this for a Radiobutton group before, same scenario, and I placed the code in the radio button group, under Click.
Hope this helps...
Cheers,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.