Two of the 3 links in my popup work fine and go to the website in the var link, until I click on a point that references 'Type IV'. When I click on any point in my webmap that is Type IV, the link goes to my webmap.
if ($feature.RESOURCETYPE == "Type II (500 - 1,999 persons)")
{return link = 'Type II';}
if ($feature.RESOURCETYPE == "Type III (250 - 499 persons)")
{return link = 'Type III';}
If ($feature.RESOURCETYPE == "Type IV (249 or fewer persons)")
{return link = 'Type IV';}
Any ideas on why this is happening? I queried and double checked that "Type IV (249 or fewer persons)" is correct in the attribute table.