# Printing Values from HubDB "select" column

**URL:** <https://community.hubspot.com/t/printing-values-from-hubdb-select-column/3455>\
**Category:** CMS Development\
**Created:** [September 28, 2017, 12:40am UTC](https://community.hubspot.com/t/printing-values-from-hubdb-select-column/3455 "2017-09-28T00:40:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgoswick](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mgoswick/32/35926_2.png) [@mgoswick](https://community.hubspot.com/u/mgoswick)\
**Post date:** [September 28, 2017, 12:40am UTC](https://community.hubspot.com/t/printing-values-from-hubdb-select-column/3455/1 "2017-09-28T00:40:57Z")

</div>

I’m sure there’s a simple way to do this but I can’t figure it out. I have a HubDB table with several entries that are categorized by a select list. Getting the filtering and such has not been a problem, but when I add {{ row[“name\_of\_select\_list”]}} inside of a \<p\>\</p\>, rather than just printing the value like text and rich text columns do, it prints {id=#, name=‘Value from Select List’}. How do I get just the name value to print?  
I tried:  
{{ row[“name\_of\_select\_list”]}}.value,  
{{ row[“name\_of\_select\_list”]}}.name,  
{{ row[“name\_of\_select\_list”].name}},  
{{ name.row[“name\_of\_select\_list”]}},  
etc.  
and have not had any luck

---

<div class="post-metadata">

**Author:** ![Jsum](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jsum/32/20405_2.png) [@Jsum](https://community.hubspot.com/u/Jsum)\
**Post date:** [September 28, 2017, 4:56am UTC](https://community.hubspot.com/t/printing-values-from-hubdb-select-column/3455/2 "2017-09-28T04:56:02Z")

</div>

@mgoswick,

in [this tutorial](http://designers.hubspot.com/docs/tutorials/how-to-build-a-real-estate-listing-with-hubdb) They are using a select field for “type”. When they call the value in the code example they do so like this:

`{{ row["type"].name }}`

I see that you have already tried this but considering the syntax in the tutorial is correct (or at least assuming so) you may want to double check your code and try it again.

If it still doesn’t work, would you share your code?

---

<div class="post-metadata">

**Author:** ![mgoswick](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mgoswick/32/35926_2.png) [@mgoswick](https://community.hubspot.com/u/mgoswick)\
**Post date:** [September 28, 2017, 4:11pm UTC](https://community.hubspot.com/t/printing-values-from-hubdb-select-column/3455/3 "2017-09-28T16:11:10Z")

</div>

Not sure why it didn’t work before, but {{ row[“type”].name}} worked as it should. Thanks.
