Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Adxstudio Entity Form: Display field as HTML

Posted on by 1,545

On our portal, we are using an Entity Form to display a form which contains a multi-line field and we would like the content of this field to display as HTML instead of text area.

Is there any way to achieve this with Custom javascript?

Right now the field shows the HTML code and does not render the HTML.

*This post is locked for comments

  • Verified answer
    yleclerc Profile Picture
    yleclerc 1,545 on at
    RE: Adxstudio Entity Form: Display field as HTML

    We figured it out.

    In the Web Page (not the entity form) custom javascript section, we added this piece of javascript.

    $("#new_field").after("<div>"+$("#new_field").val()+"</div>");
    $("#new_field").css("display","none");

    where new_field is the schema name of your field.

    Thanks to Antonio Lozada who used this in a Web Form.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans