I can’t enable PHP on the template that contains my Safecracker form if the form has this in it:
{custom_fields}
{if safecracker_file}
{display_field}
{/if}
{/custom_fields}
None of the PHP is parsed. If I remove that, the PHP works fine. Any ideas why putting the above lines in would kill the ability for the template to have PHP enabled?
Also, as a general question, for displaying the Safecracker File field at all, does it have to be inside the custom_fields pair? It’s the only custom field I have within that pair because I couldn’t get it to display at all otherwise.
Safecracker 1.0.3
Safecracker File 1.0.3