The documentation shows a way of controlling the output of repeated fields, but it appears to require Views.
Is there any way of doing it without Views?
I am putting the output from the repeated field into a table cell and I want each field to start on a new line. At the moment the data is being placed immediately after the last string without any kind of line break.
Dear Binns,
How are you doing the output the repeating fields?
Regards,
Caridad
The code is this:
<tr>
<td><?php echo(types_render_field("company-description"));?></td>
<td><?php echo(types_render_field("assignment-activity"));?></td>
</tr>
Dear Binns,
You can use things like the separator parameter, try with:
<?php echo types_render_field("company-description", array("separator" => "<br />")); ?>
Please let me know if there is anything else that I can assist you with.
Regards,
Caridad
Excellent, thankyou. I really think you should expand the documentation a little on the Type Fields API page to indicate the various ways that the types_render_field function can be used.