# Proper Way to add non required fields to activity log in a module

**URL:** <https://farmos.discourse.group/t/proper-way-to-add-non-required-fields-to-activity-log-in-a-module/2549>\
**Category:** Development\
**Created:** [June 18, 2026, 2:23am UTC](https://farmos.discourse.group/t/proper-way-to-add-non-required-fields-to-activity-log-in-a-module/2549 "2026-06-18T02:23:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tool172](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tool172](https://farmos.discourse.group/u/tool172)\
**Post date:** [June 18, 2026, 2:23am UTC](https://farmos.discourse.group/t/proper-way-to-add-non-required-fields-to-activity-log-in-a-module/2549/1 "2026-06-18T02:23:50Z")

</div>

What is the correct method to add custom fields that aren’t required to an activity log?

I am making a breeding activity log module to add sire and breeding type as an option to merge with the asset linked and show a breeding report. I’m just having a problem getting the fields to render at the bottom of the activity log screen.

---

<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:** [June 18, 2026, 12:52pm UTC](https://farmos.discourse.group/t/proper-way-to-add-non-required-fields-to-activity-log-in-a-module/2549/2 "2026-06-18T12:52:52Z")

</div>

Hi @tool172 - I’m assuming you are following the guidance from the documentation at [Fields | farmOS](https://farmos.org/development/module/fields/)?

> [@tool172](#):
>
> I’m just having a problem getting the fields to render at the bottom of the activity log screen.

Can you share your code, and a screenshot of where you want the field to appear?

---

<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:** [June 18, 2026, 1:06pm UTC](https://farmos.discourse.group/t/proper-way-to-add-non-required-fields-to-activity-log-in-a-module/2549/3 "2026-06-18T13:06:25Z")

</div>

Discussion continued in chat: [IRC logs for #farmOS, 2026-06-18 (GMT) | irc.farmos.org](https://irc.farmos.org/bot/log/farmOS/2026-06-18#T104114)
