# DatatList Switch type field have number limit?

**URL:** <https://community.yeeflow.com/t/datatlist-switch-type-field-have-number-limit/172>\
**Category:** Ask the community\
**Created:** [May 17, 2023, 2:21am UTC](https://community.yeeflow.com/t/datatlist-switch-type-field-have-number-limit/172 "2023-05-17T02:21:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_lee](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.yeeflow.com/steve_lee/32/157_2.png) [@steve\_lee](https://community.yeeflow.com/u/steve_lee)\
**Post date:** [May 17, 2023, 2:21am UTC](https://community.yeeflow.com/t/datatlist-switch-type-field-have-number-limit/172/1 "2023-05-17T02:21:27Z")

</div>

Hi,  
Im trying to create a DataList.  
When I try to create the 51st switch field, it failed. Is there a number limit for type switch? Cause TextField can successfully create, Switch can’t.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/52fc99cb9bf3f67bbde5b545b94d54713c8974ac.png)  
_Already created ‘Bit50’_

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/0bafff3087287a9e134b03a82ba8264942e1ab3d.png)  
_When try to create ‘Bit51’_

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/f92b0f1c3ee723c2b12336c0db5586c2648e99a1.png)  
_Failed_

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/5022a1e995943cfd461fe43a1a90846510aad2e0.png)  
_When I try to create with the same name but different field type._

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/yeeflow/original/1X/d685881ba952538a302b4e132390cb44273d3f0a.png)  
_It success_

Is there any reason why can’t create over 50 switch fields on DataList? Any other work-around?  
Thank you

---

<div class="post-metadata">

**Author:** ![frank](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@frank](https://community.yeeflow.com/u/frank)\
**Post date:** [May 22, 2023, 6:50am UTC](https://community.yeeflow.com/t/datatlist-switch-type-field-have-number-limit/172/2 "2023-05-22T06:50:20Z")

</div>

Hi Steve,

Yes, there’s a physical limitation on database that only 50 switch fields allowed. You may consider to use text field.

Regards,  
Frank
