Removing duplicates from generated multi-select dropdown list

3 posts by 2 authors in: Forums > CMS Builder
Last Post: September 16, 2013   (RSS)

Hi guys,

I am populating a drop-down box from a multi-select list (quite similar to the topic covered at http://www.interactivetools.com/forum/forum-topics-create.php?forumNum=791&postNum=2215861).

I am getting duplicate results in that drop-down box and I want to know how to remove them. Example:

Record 1 tags = beans, carros, potatoes

Record 2 tags = tomatoes, carrots, turnips

Record 3 tag = carrots

When I populate the drop-down box I am getting carrots three times:

  • beans
  • carrots
  • carrots
  • carrots
  • potatoes
  • tomatoes
  • turnips

Appreciate your assistance.

Terry

Dear Jason,

You are absolutely brilliant! This has removed duplicates from my drop-down box.

Thanks

Terry