PDF help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akafester
    Member
    • Mar 2018
    • 32

    PDF help

    I'm searching for some help regarding a template.
    I have a multi-select field that I want printed out on a PDF.

    So far I have tried with the #each but it doesn't seem to be working. What fields does the #each work with?

    Code:
     <table border="0.5pt" cellpadding="2" class="table table-bordered">
    
    <tbody>
    <tr>
    <th width="85%" align="left"><span style="font-size: 10px;">Navn</span></th>
    <th width="15%" align="left"><span style="font-size: 10px;">Valg</span></th>
    </tr>
    
    <!-- {{#each repList}} -->
    <tr>
    <td>{{repList}}</td>
      <td></td>
     </tr>
    <!-- {{/each}} --> 
    </tbody>
    </table>
    Last edited by akafester; 01-04-2019, 11:59 PM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello,
    instead of <td>{{repList}}</td>
    use <td>{{this}}</td>

    It will shows the key of enum

    Comment

    Working...