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
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.
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());
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.