I have one custom field called 'writer'. Everything is working fine except all the custom fields are showing up on the form, including those which I have created for another purpose and which I don't want to be shown. Does anyone know if there is a way to call specific custom fields and not all at once?
The code for the custom fields on the 'factory settings' of the form template is:
Code: Select all
{if isset($customfields)}
{foreach from=$customfields item='onefield'}
<div class="pageoverflow">
<p class="pagetext">{$onefield->name}:</p>
<p class="pageinput">{$onefield->field}</p>
</div>
{/foreach}
{/if}
I would really appreciate any help.