DotNetGnat
Programmer
Guys,
I have two dropdowns(lets say dd1, dd2)...
i want to put required field validators on them...but here is the condition...
one of the dropdowns should be selected as empty...
i mean...
dd1:
item 1: ""
item 2: "blah"
item 3: "foo"
dd2:
item 1: ""
item 2: "vsd"
item 3: "bar"
now what i want is...one of the selected items should be ""...if they selected dd1 as "" and dd2 as "vsd"...thats fine...but if they select dd1 as "blah" and dd2 as "bar"...thats not fine...and error message should show up saying that only one item from either dropdowns should be selected...
any suggestions...
-DNG
I have two dropdowns(lets say dd1, dd2)...
i want to put required field validators on them...but here is the condition...
one of the dropdowns should be selected as empty...
i mean...
dd1:
item 1: ""
item 2: "blah"
item 3: "foo"
dd2:
item 1: ""
item 2: "vsd"
item 3: "bar"
now what i want is...one of the selected items should be ""...if they selected dd1 as "" and dd2 as "vsd"...thats fine...but if they select dd1 as "blah" and dd2 as "bar"...thats not fine...and error message should show up saying that only one item from either dropdowns should be selected...
any suggestions...
-DNG