M
Mirnes
Hi all!
In one page I have 5 dropdown lists since I want to be able to add one
company into max. 5 different categories but also to choose only one
category, and there I came to the problem: I want those categories to
be different. Ok, I used CompareValidator and it is not problem, but
then I added new static item into every dropdown with value "-1" and
text "Select category" and now I have problem because Validator finds
that dropdown values are the same and blocks addition.
The best solution for me is that I remove item which is selected in
one dropdown list from other 4 dropdown lists or at list to make
Validator not checks values < 0, but I don't know how to make any of
these 2 solution.
In one page I have 5 dropdown lists since I want to be able to add one
company into max. 5 different categories but also to choose only one
category, and there I came to the problem: I want those categories to
be different. Ok, I used CompareValidator and it is not problem, but
then I added new static item into every dropdown with value "-1" and
text "Select category" and now I have problem because Validator finds
that dropdown values are the same and blocks addition.
The best solution for me is that I remove item which is selected in
one dropdown list from other 4 dropdown lists or at list to make
Validator not checks values < 0, but I don't know how to make any of
these 2 solution.