# How to add new custom user attribute that has Boolean value using checkbox input or toggle switch in account theme

**URL:** <https://forum.keycloak.org/t/how-to-add-new-custom-user-attribute-that-has-boolean-value-using-checkbox-input-or-toggle-switch-in-account-theme/22115>\
**Category:** Getting advice\
**Tags:** account-console\
**Created:** [May 14, 2023, 7:45am UTC](https://forum.keycloak.org/t/how-to-add-new-custom-user-attribute-that-has-boolean-value-using-checkbox-input-or-toggle-switch-in-account-theme/22115 "2023-05-14T07:45:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charith-Prabhagya](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/charith-prabhagya/32/8565_2.png) [@Charith-Prabhagya](https://forum.keycloak.org/u/Charith-Prabhagya)\
**Post date:** [May 14, 2023, 7:45am UTC](https://forum.keycloak.org/t/how-to-add-new-custom-user-attribute-that-has-boolean-value-using-checkbox-input-or-toggle-switch-in-account-theme/22115/1 "2023-05-14T07:45:51Z")

</div>

How to add a new custom user attribute that has Boolean value using checkbox input or toggle switch in the account theme (in account.ftl file)
