# Add checkbox in the form

**URL:** <https://farmos.discourse.group/t/add-checkbox-in-the-form/852>\
**Category:** Development\
**Created:** [July 2, 2021, 9:04am UTC](https://farmos.discourse.group/t/add-checkbox-in-the-form/852 "2021-07-02T09:04:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![compact2](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@compact2](https://farmos.discourse.group/u/compact2)\
**Post date:** [July 2, 2021, 9:04am UTC](https://farmos.discourse.group/t/add-checkbox-in-the-form/852/1 "2021-07-02T09:04:08Z")

</div>

How can i add a checkbox in the form in the log record?

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [July 12, 2021, 2:34pm UTC](https://farmos.discourse.group/t/add-checkbox-in-the-form/852/2 "2021-07-12T14:34:04Z")

</div>

There are two approaches, depending on what you need…

You can enable the Field UI module which will expose an admin UI for adding fields to specific log types.

Or, if you want to add something to ALL log types, then you could use `hook_form_alter()` to add it.

(This is all assuming you are doing this in farmOS 1.x - which I think is true. farmOS 2.x makes this process a bit easier too.)
