web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : vp+yg54Th6A2K/oNrASeLR
Power Apps - Building Power Apps
Answered

How to count remaining characters for a Rich Text box

Like (0) ShareShare
ReportReport
Posted on 29 Nov 2021 20:02:48 by

I have a Powerapps SharePoint List Form. On the form I have a Rich Text field that works perfectly and brings in the Rich Text into SP which is what the user is requesting. However, they also want to have a character count which I have and which works if the I was only using a plain text field. The character count field (characters remaining) doesn't work on rich text or a plain text whose default is the Rich Text because it counts all the HTML code in the background. Does anyone have a workaround for this?

  • Verified answer
    CNT Profile Picture
    10,919 Super User 2024 Season 1 on 29 Nov 2021 at 20:58:22
    Re: How to count remaining characters for a Rich Text box

    @Anonymous Try this,

    Len(PlainText(yourHtmlText))

  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 29 Nov 2021 at 20:56:00
    Re: How to count remaining characters for a Rich Text box

    @Anonymous 

    If you're just trying to count characters and ignore the html, then change your formula to:

       Len(PlainText(yourInput.Text))

     

    That will remove all the html and count them as you want.

     

    I hope this is helpful for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete