Is it possible to make tags mandatory?

I’ve implemented some tag groups as described here https://meta.discourse.org/t/tags-category-restrictions-tag-groups-relationships/48260

I’d like to have the Brand and Model tags mandetory, is this possible?

1 Like

Yes. See tag groups and category settings and associated topics.

3 Likes

Ah, I see. But…
I want to make the tag ‘Brand’ mandetory. If someone chooses ‘Audi’ as brand, then the tag ‘Audi-models’ should be mandetory. If he chooses ‘Volkswagen’ as brand, then the tag ‘Volkswagen-models’ should be mandetory.

Can this also be done?

1 Like

I believe so. Did you look at A comprehensive guide to Discourse tags

4 Likes

Yes i did, but there’s nothing there about the question i have

You’re looking for parent-child tag relationships. Information on setting that up is in Tags: category restrictions, tag groups, relationships (which is linked to from the topic Jay shared. In fact, car make/model is the example used!

7 Likes

Thanks @jomaxro ,
I did create parent-child relationships, but still this doesn’t work for me.
Quote myself:
" If someone chooses ‘Audi’ as brand, then the tag ‘Audi-models’ should be mandetory. If he chooses ‘Volkswagen’ as brand, then the tag ‘Volkswagen-models’ should be mandetory."
As far as I can see this is not possible. I can make Brand mandetory en set the minimum of tags required to 2. In that case the first tag they can only choose a Brand, because that’s the parent. As the second tag they can choose an Audi model, but also another brand! So they can choose two brands instead of the mandetory Brand+Model

Is there a way to solve this?

Did you check off the “Limit one tag per topic from this group” for the brand tag group? That will handle your use case of only allowing a single brand.

6 Likes