Hi All.
So I have a grid application with Advanced search.
I have several blocks within the Search that I want to hide using the sc_block_display macro.
But they aren’t being Hidden.
Any ideas?
Hi All.
So I have a grid application with Advanced search.
I have several blocks within the Search that I want to hide using the sc_block_display macro.
But they aren’t being Hidden.
Any ideas?
Here is the code I have on the OnScriptInit of the Asdvanced Search.
sc_block_display(grid_ep_therapists_1,on);
if($_GET[“test”]==1)
{
sc_block_display(grid_ep_therapists_1,off);
}
Same problem here.
I’ve verified that the code is really executed by adding some debug code and it is.
The problem is simply that the line “sc_block_display(my_block_name,off);” has no effect.
Please SC team, address this issue.