Question About Department Selection

2 followers Follow
Avatar
Afief

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

0

2 comments

Avatar
Yuzo Arai 0 votes

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

I hope this helps.

0

Please sign in to leave a comment.