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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / entity form convert te...
Power Pages
Unanswered

entity form convert textarea html to plain text

(0) ShareShare
ReportReport
Posted on by 59

Hi i have an entity form which has a read only text area , however in the model driven app it is a multi line text area and therefore when viewed on a entity form on a portal it is including the HTML tags. I would like to strip out the html tags

 

 entityform.PNG

I found a similar post on dynamics forum Adxstudio Entity Form: Display field as HTML - Microsoft Dynamics CRM Forum Community Forum   however this appear not to work.

 

I think i am looking at some kind of jquery on the entity form, to get the value of the textarea and replace without the html tags.

 

Any help would be appreciated.

 

 

Categories:
  • justinburch Profile Picture
    Microsoft Employee on at

    Hi @sbonera,

    If you just want to strip the HTML:

    var $original = $("#new_multilineschemahere");
    var $new = $("<div></div>");
    $new.html($original.text());
    $original.val($new.text());

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 110

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 24

Last 30 days Overall leaderboard