Turning on character count on single line text fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 07:43 PM
Is there a way to turn on character limits on single line text fields? I have a requirement to limit the number of characters but dont want to change the fields length as it may truncate existing records so looking to see if I can turn on character count and then have a client script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2024 08:01 PM - edited ‎04-03-2024 08:04 PM
Hi @samadam as far as i know character count is used for journal and multi line fields,
here you can define a regex under variable validation regex module and use it on your variable like below
Regex : ^[A-Za-z\s]{0,10}$ // limit up to 10 characters including spaces
Harish