# לחייב משתמשים לבחור תת-קטגוריה?

**URL:** <https://meta.discourse.org/t/force-users-to-select-a-sub-category/216648>\
**Category:** Product Support\
**Created:** [1 בפברואר,‏ 2022,‏ 12:21am UTC](https://meta.discourse.org/t/force-users-to-select-a-sub-category/216648 "2022-02-01T00:21:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [1 בפברואר,‏ 2022,‏ 12:20pm UTC](https://meta.discourse.org/t/force-users-to-select-a-sub-category/216648/2 "2022-02-01T12:20:14Z")

</div>

What if you add the subcategories links in the modal or with the new topic link?

For example:

Please choose a subcategory below to create a new topic.

`<a href="/new-topic?category=parent/subcategory1">Subcategory1</a>`  
`<a href="/new-topic?category=parent/subcategory2">Subcategory2</a>`  
`<a href="/new-topic?category=parent/subcategory3">Subcategory3</a>`

* * *

And you can modify the button with css. Like this

```scss
#create-topic {
  &.btn[disabled]:not(.is-loading),
  &.btn.disabled:not(.is-loading) {
    opacity: 1;
    cursor: pointer;
    &:hover,
    &:focus {
      background: var(--primary-medium);
      color: var(--secondary);
      svg {
        color: var(--secondary);
      }
    }
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/force-users-to-select-a-sub-category/216648)._
