In the help file on sc_field_display it cites
if ({tp_customeri} == "personal")
{
sc_field_display({company_name}, off);
}
else
{
sc_field_display({personal_name}, off);
}
In the code insertion example in the designer it gives me
/**
* Hide/show a field
*/
if ({field1} == 'some_value') // Display field
{
sc_field_display({field2}, 'on');
}
else // Hide field
{
sc_field_display({field2}, 'off');
}
, i.e. on example shows on and off not quoted, the other quoted.
Consistency would save a lot of frustration.
Thank you.