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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard