How to limit character in a single text field? | Community
Skip to main content
Level 4
October 3, 2023
Solved

How to limit character in a single text field?

  • October 3, 2023
  • 2 replies
  • 2060 views

How can you limit the characters in a single text field?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Madalyn_Destafney

Hi there, in the custom form you can't indicate a character limit unfortunately. Here are the character limits that do exist on certain things in WF.
If you're wanting to actually just limit the answers you see in a report of your custom form field, change that column to text mode and add this:
valueexpression=CONCAT(LEFT({DE:Custom Field},100),"...")

Here is an Idea around this already - please upvote!

If you found this helpful, please mark correct to help others : )

2 replies

Madalyn_Destafney
Community Advisor
Madalyn_DestafneyCommunity AdvisorAccepted solution
Community Advisor
October 3, 2023

Hi there, in the custom form you can't indicate a character limit unfortunately. Here are the character limits that do exist on certain things in WF.
If you're wanting to actually just limit the answers you see in a report of your custom form field, change that column to text mode and add this:
valueexpression=CONCAT(LEFT({DE:Custom Field},100),"...")

Here is an Idea around this already - please upvote!

If you found this helpful, please mark correct to help others : )

If this helped you, please mark correct to help others : )
NicholeVargas
Adobe Employee
Adobe Employee
October 3, 2023

Like Madalyn mentioned below, you cannot limit character count in a single line text field, however, I proposed a solution using multiple calculated custom fields in THIS THREAD to help solve for this.