# Custom fields and form defaults

**URL:** <https://forum.manager.io/t/custom-fields-and-form-defaults/43247>\
**Category:** Uncategorized\
**Created:** [September 23, 2022, 11:07pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247 "2022-09-23T23:07:27Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![esenicki](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@esenicki](https://forum.manager.io/u/esenicki)\
**Post date:** [September 23, 2022, 11:07pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/1 "2022-09-23T23:07:27Z")

</div>

I have created a new custom field using Text custom fields for Purchase invoices. I then tried to set the form default with the new custom field filled with some text.

What happens is that when I click the New Purchase Invoice button at the top of the page the custom field appears with the text. However, when I use the ‘copy to’ from a purchase order to create the purchase invoice, the text is blanked out. Is there a reason for this or is this a bug (I hope)?

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [September 23, 2022, 11:09pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/2 "2022-09-23T23:09:19Z")

</div>

I can reproduce the issue. Custom fields and form defaults when using `Copy to` is not supported yet. Added to `ideas`.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [September 23, 2022, 11:23pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/3 "2022-09-23T23:23:14Z")

</div>

I question whether this should happen. Why should the assumption be made that a form without certain information should suddenly have that information added when it is copied to another form? The situation described seems more appropriate for a footer on the purchase invoice, not a custom field for which content suddenly appears part way through the workflow.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [September 23, 2022, 11:36pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/4 "2022-09-23T23:36:11Z")

</div>

The principle here is that form default is the initial state. And `Copy to` will copy onto the initial state what it can copy.

It doesn’t matter whether the field is built-in (`Footers`) or custom field. We are just being consistent. Also, `Classic Custom Fields` always worked (and still work) this way so it’s not like something new is being introduced.

---

<div class="post-metadata">

**Author:** ![Patch](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@Patch](https://forum.manager.io/u/Patch)\
**Post date:** [September 24, 2022, 12:10am UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/5 "2022-09-24T00:10:30Z")

</div>

I’m a bit confused about what is being suggested is optimal behaviour.

1. Create custom field for an invoice
2. Enter a form default for that custom field.
3. Create an invoice, accepting the form default for the custom field or deleting it.
4. Copy the above invoice.

At this point are we saying the custom field should contain the form default value or what it was set to in the copied invoice. Logically I would prefer the latter for a copy but form default for a newly created invoice.

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [September 24, 2022, 12:12am UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/6 "2022-09-24T00:12:49Z")

</div>

1. Create custom field for an invoice
2. Enter a form default for that custom field.
3. Create an order.
4. Copy the above order to new invoice.

New invoice should still contain custom field with your form default value.

---

<div class="post-metadata">

**Author:** ![Patch](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@Patch](https://forum.manager.io/u/Patch)\
**Post date:** [September 24, 2022, 12:50am UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/7 "2022-09-24T00:50:29Z")

</div>

Yes, we agree with that work flow.

But the case I was questioning is what should happen if you add a step

3.5 delete the (form default) value in the custom field.

Now at step 4 should the copy function over ride the users invoice editing and reinstate the form default value or should the copy function leave the specific user editing of that invoice. My preference is the later.

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [November 18, 2022, 1:51pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/8 "2022-11-18T13:51:13Z")

</div>

2 posts were split to a new topic: [Custom field labels showing when field is empty](https://forum.manager.io/t/custom-field-labels-showing-when-field-is-empty/44103)

---

<div class="post-metadata">

**Author:** ![lubos](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/lubos/32/62798_2.png) [@lubos](https://forum.manager.io/u/lubos)\
**Post date:** [January 20, 2023, 7:50pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/9 "2023-01-20T19:50:19Z")

</div>

This has been resolved in the latest version (23.1.20)

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [July 5, 2026, 8:08pm UTC](https://forum.manager.io/t/custom-fields-and-form-defaults/43247/10 "2026-07-05T20:08:49Z")

</div>

Uncategorized topics older than 3 years with no recent activity
