# Custom View and HTML

**URL:** <https://forum.kintone.dev/t/custom-view-and-html/190>\
**Category:** General\
**Created:** [January 30, 2019, 11:42pm UTC](https://forum.kintone.dev/t/custom-view-and-html/190 "2019-01-30T23:42:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 30, 2019, 11:42pm UTC](https://forum.kintone.dev/t/custom-view-and-html/190/1 "2019-01-30T23:42:35Z")

</div>

Hello, Kintone community. I am currently attempting to create a table using a Custom View and HTML. Using HTML, I would like to display the “Person’s Name”, “Date of Birth”, and “ID” as a custom view. The field names within the application are “person”, “dob”, and “id”. Can field-codes be used in the HTML, or is their another way to accomplish the same customization?

Thank-you in advance!

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 31, 2019, 1:59am UTC](https://forum.kintone.dev/t/custom-view-and-html/190/2 "2019-01-31T01:59:11Z")

</div>

Hello Tony

First of all, the field code cannot be used in the HTML code, it can only be used in API or the auto-calculation field.

One of the methods of creating a table in the custom view is by creating the item name row with HTML, such as by:

```
Eg:
<div id="my-customized-view">
<table border="1">
<thead>
<tr>
<th>Person's Name</th>
<th>Date of Birth</th>
<th>ID</th>
</tr></thead>
<tbody id="my-tbody">
</tbody>
</table>
</div>

```

Then use JS to manipulate the HTML DOM to put the child element (of data) in the HTML tbody.

I hope you get the idea.

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [January 31, 2019, 2:32am UTC](https://forum.kintone.dev/t/custom-view-and-html/190/3 "2019-01-31T02:32:37Z")

</div>

Thank you for your response.&nbsp; I understand the logic,
