# Question About Department Selection

**URL:** <https://forum.kintone.dev/t/question-about-department-selection/167>\
**Category:** General\
**Created:** [September 17, 2018, 4:45am UTC](https://forum.kintone.dev/t/question-about-department-selection/167 "2018-09-17T04:45:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [September 17, 2018, 4:45am UTC](https://forum.kintone.dev/t/question-about-department-selection/167/1 "2018-09-17T04:45:25Z")

</div>

Dear Developers, please take a look at below pict

The image show that I can add more than one Department for the mentioned field

My question is, am I able to restrict that field so that it only able to select one department and no more than that? If so how? Any answer would be appreciated, thank you very much

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [September 18, 2018, 3:22pm UTC](https://forum.kintone.dev/t/question-about-department-selection/167/2 "2018-09-18T15:22:38Z")

</div>

Hello Afief,

This is definitely possible.  
There is an article related to restricting the selection field along with the example code.  
I posted the link below so please check it.  
Though the article is about restricting the USER SELECTION field,  
you will probably just need to alter few stuff for the DEPARTMENT field.

-kintone developert network - Allow only 1 user for User Selection fields  
[https://developer.kintone.io/hc/en-us/articles/115002475233](https://developer.kintone.io/hc/en-us/articles/115002475233)

I hope this helps.

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [September 20, 2018, 1:17am UTC](https://forum.kintone.dev/t/question-about-department-selection/167/3 "2018-09-20T01:17:34Z")

</div>

Hello Yuzo Arai

I will try that, thank you for the reply
