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?
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?
Yes. See tag groups and category settings and associated topics.
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?
I believe so. Did you look at A comprehensive guide to Discourse tags
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!
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.
ربما أغفلت شيئًا ما بشأن الوسم الإلزامي، لكن افترضت أنه عندما يكون لدي وسم إلزامي واحد من مجموعة وسوم (والتي تحتوي حاليًا على وسم واحد فقط في حالتي)، فإما أن يُطبق الوسم تلقائيًا عند كتابة منشور جديد (وهو ما لم يحدث) أو أن حفظ المنشور دون استخدام الوسم الإلزامي لن يكون ممكنًا (تم حفظ المنشور دون تطبيق أي وسوم).
هل أقوم بشيء خاطئ؟
قواعد تلك الوسوم لا تنطبق على المشرفين، وهو ما أجدّه مزعجًا في بعض الأحيان.
آه، شكرًا لك - يجب أن أجرب ذلك مع عضو عادي إذن. إذا كان هذا هو الحل، فهو محتمل لكنه مزعج، وأنا أتفق معك ![]()
في أي حال، يجب أن يكون تجاوزًا نشطًا…