Code
{if isset($id)}
{pnformlabel for='event' __text='Event' mandatorysym=true}
{genericformplugin id='event'}
{else}
{pnformintinput text=$catch_pid id='event' dataField='event' style='display: none;'}
{/if]-->
{pnformlabel for='event' __text='Event' mandatorysym=true}
{genericformplugin id='event'}
{else}
{pnformintinput text=$catch_pid id='event' dataField='event' style='display: none;'}
{/if]-->
the weird thing, text is not the sort of input, but actually the value [in my case the $pid of another publication], hence the pnformintinput...
I just hide the input box with display: none
BTW, 'event' is a field in my pub-setup.
- Igor
