Hi. The macro “sc_block_display(my_block, off)” has no effect in the advanced search window. Thanks for adressing this.
You need to test the condition in onLoad