I am trying to use this macro on a form.
OnApplicationInit
if ({owner_trust_indem} == “yes”)
{
sc_field_display({owner_trust_indem_why}, on);
}
else
{
sc_field_display({owner_trust_indem_why}, off);
}
I get the following error :
Fatal error: Call to a member function GetTag() on null in C:\Program Files (x86)\NetMake\v81b\wwwroot\scriptcase\devel\class\generator
mFontePHPForm.class.php on line 13400
Any idea why? Is my syntax wrong? The column names are correct.