# Change max length for alias in custom fields?

**URL:** <https://forum.mautic.org/t/change-max-length-for-alias-in-custom-fields/24083>\
**Category:** Product Support\
**Created:** [May 13, 2022, 8:40am UTC](https://forum.mautic.org/t/change-max-length-for-alias-in-custom-fields/24083 "2022-05-13T08:40:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iparker/32/1936_2.png) [@iparker](https://forum.mautic.org/u/iparker)\
**Post date:** [May 13, 2022, 8:40am UTC](https://forum.mautic.org/t/change-max-length-for-alias-in-custom-fields/24083/1 "2022-05-13T08:40:38Z")

</div>

Hello,

is there a way to change the max length for the alias for custom fields?

It seems that the max lenth for alias is 25 chars.

Is there a way to change this?

Thanks for some help!

Best regards,

Timo

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [January 30, 2024, 4:09pm UTC](https://forum.mautic.org/t/change-max-length-for-alias-in-custom-fields/24083/2 "2024-01-30T16:09:42Z")

</div>

It’s defined here:

> <https://github.com/mautic/mautic/blob/ea864af509375338fbf1f839592e5230bc85dc23/app/bundles/LeadBundle/Form/Type/FieldType.php#L470>

It can easily be increased to 191 characters by just changing the number 25 to 191. Anyone wants to push their first pull request?

---

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [January 30, 2024, 5:41pm UTC](https://forum.mautic.org/t/change-max-length-for-alias-in-custom-fields/24083/3 "2024-01-30T17:41:20Z")

</div>

Do we really want this? Try to name it something simple and short if at all possible.
