LowCodeGo logo

Power Apps – Text Field Character Count

Overview

Including a character count is beneficial for any fields where users may copy and paste data into. With the absence of a character count, users may not notice when information pasted in is missing due to length. With a label, you can display a character count and provide a color scheme when the length threshold has been met making it more noticeable to users.

example of character count

YouTube

Character Count Label

Text Property

Update the Text property of the label. Concatenate the current length with the maximum length of the text field.

Concatenate(Len(text_Description.Text), ” / 2000 characters”)

update text property

Color Property

Update the Color property of the label. If the length of the text field is at the maximum limit, we want to show the label color in Red, otherwise it will appear Black.

If(Len(text_Description) = 2000, Red, Black)

update color property

FontWeight Property

Update the FontWeight property of the label. If the length of the text field is at the maximum limit, we want to show the label in semi-bold to provide more visibility, otherwise it will appear in normal weight.

update color font weight

Result

When the user is below the maximum limit, they will be able to see the current count of the text field.

example of character count under max limit

When at the maximum limit, they will be able to see the character count label has changed appearance indicating the limit has been reached.

example of character count reaching limit

Leave a Reply

Categories

Follow us

Copyright ©LowCodeGo 2025

Discover more from LowCodeGo

Subscribe now to keep reading and get access to the full archive.

Continue reading