2

This validation error seems wrong. I tried to add a 5th tag only, not more than 5.

Please enter no more than 5 tags.

I tried both the mobile site and the desktop site in a mobile browser, same result.

Screenshot showing the error message on mobile

1 Answer 1

6

It’s the underscore that’s causing the problem. It doesn’t seem count as a valid “word separator” for tags so “Conrad” and “Stargard” are counting as two different tags. You can see this even more clearly if you press space after the tag and it converts the underscore to a hyphen.

In fact even if this wasn’t standard behaviour I would suggest you always use hyphens instead of underscores in tags so it keeps everything consistent across the site. Actually looking a bit further the tagging guidelines on main meta even state you should use hyphens in place of spaces.

Replaces spaces with dashes (-) to combine multiple words into a single word (i.e, Tag "Unit Testing" as "unit-testing").

FWIW I can't find an explicit post about the changing of underscores to hyphens in tag names, only this one about improving that feature but it should be enough to prove this is what happens.

2
  • 1
    I don't have any problem with using hyphens or underscores, but regardless the error message seems wrong & totally confusing / misleading. Thanks for the explanation of why its happening. Commented Aug 5, 2019 at 15:21
  • 2
    @DaveInCaz Oh sure it's an imperfect error message but the system does appear to see it as two tags, the visual representation just shows one whilst you are typing it.
    – TheLethalCarrot Mod
    Commented Aug 5, 2019 at 15:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .