Child Relationship Template html trouble

  • 2
  • Problem
  • Updated 3 years ago
  • Solved
A minor problem:

I set up a child relationship on a model. Everything's working great, except that when I display the textarea field {{Nurse_s_Notes__c}} I get html paragraphs in the actual text:

Here's the set-up:

I tried the triple mustache, to no avail.

Any ideas?
Photo of Matt Sones

Matt Sones, Champion

  • 31,986 Points 20k badge 2x thumb

Posted 4 years ago

  • 2
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,678 Points 20k badge 2x thumb
Official Response
Actually I think there is a simpler way.  Call it #4.. 

There are two ways to populate a template that shows Children fields. 
1. Drag the children relationship item from your fields list into your page.   This way does not do any rendering as you have discovered. 
2. Add a template to the page from the components list and then use the following syntax. 


This method does the rendering.  

No Javascript needed.