FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Excel Export Manager
#1
Hey I'm new here
I'm from Germany sorry for my bad englich.
Ok now my question.
It's possible to use a <br> in the {foreach} Loop
to create more lines in the Excel sheet ?


<table>
<tr>
{foreach from=$display_fields item=column}
<th>{$column.field_title}</th>
{/foreach}
</tr>
{foreach from=$submissions item=submission}
{assign var=submission_id value=$submission.submission_id}
<tr>
{foreach from=$display_fields item=field_info}
{assign var=col_name value=$field_info.col_name}
{assign var=value value=$submission.$col_name}
<td>
{smart_display_field form_id=$form_id view_id=$view_id
submission_id=$submission_id field_info=$field_info
field_types=$field_types settings=$settings value=$value
escape="excel"}
</td>
{/foreach}
</tr>
{/foreach}
</table>
Reply
#2
Never tested, but i think you can.
Nelson Costa.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)