Dear Thomas, Thank you very much for your help, this problem works now. As you can tell, I have no idea of JavaScript. What do I have to add to the code for the following:
My drop Down List (DD0) has 3 options (Values 0,1,2) If I select 0 (which is the Default value), it should leave the 2 other DD-Lists (DD1 and DD2) invisible.
If I select 1, it should only show DD1 and if I select 2, it should only show DD2.
Here is the code that I entered under the change event of the first list (DD0), but it doesn't work:
if (form1.Main.Vessel.Table1.Row2.DD0.rawValue == 1)
{
form1.Main.Vessel.Table1.Row2.DD1.presence = "visible";
}
else if (form1.Main.Vessel.Table1.Row2.DD0.rawValue == 2)
{
form1.Main.Vessel.Table1.Row2.DD2.presence = "visible";
}
else
{
form1.Main.Vessel.Table1.Row2.DD1.presence = "hidden"; form1.Main.Vessel.Table1.Row2.DD2.presence = "hidden";
}
What do I need to change? And Thank you very much for the quick help! If you'd like to, I can also send you the form.