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());
User | Count |
---|---|
16 | |
15 | |
8 | |
4 | |
1 |
User | Count |
---|---|
32 | |
24 | |
15 | |
9 | |
3 |