Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Drop Down List (DDL) problem with specifying item values

Avatar

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Thomas_McConnac
Level 4

25-11-2008

Hi,



I have a DDL with around 40 entries that have got specific values associated with them. As they are a list of sites with different priorities their values are all either 1, 2, or 3. So this means that there are multiple sites with the same value.



When I am selecting a site, say the 4th on the list, it will choose the first site in the list with the same value and not the one that I have selected.



Should this happen?

Does anyone know of a solution for this problem?



I can put in a workaround where I give them all individual values 1-40 and put my priority according to the how high they are ranked (so 1 is the top 10 sites, 2 is the 11th to 25th, etc.) but this would be harder for someone else to maintain in the future.



Many thanks,



Tom

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

25-11-2008

Yes it should happen. Each site needs a unique value. You could use the site name and then grab the associated value when you need it rather than using the associated value all of the time. To get the site value use FormattedValue for the associated value use rawValue.

Avatar

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
Thomas_McConnac
Level 4

Likes

2 likes

Total Posts

134 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Thomas_McConnac
Level 4

25-11-2008

OK, thank you Paul.



Workaround becomes the solution then 🙂



Tom