# How to query a confirmation-type custom user field?

**URL:** <https://meta.discourse.org/t/how-to-query-a-confirmation-type-custom-user-field/68397>\
**Category:** Support\
**Created:** [August 19, 2017, 11:12pm UTC](https://meta.discourse.org/t/how-to-query-a-confirmation-type-custom-user-field/68397 "2017-08-19T23:12:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [August 20, 2017, 10:41am UTC](https://meta.discourse.org/t/how-to-query-a-confirmation-type-custom-user-field/68397/3 "2017-08-20T10:41:13Z")

</div>

> [@zogstrip](#):
>
> Boolean custom fields are stored as “t” and “f” in the database.

Aah, will try that when I’m back at my desk. But what I don’t understand then is why `cf.value = 'true'` worked…

---

_[View the full topic](https://meta.discourse.org/t/how-to-query-a-confirmation-type-custom-user-field/68397)._
