I have a Global Object with several parameters. One parameter can be left empty (not assigned).
I'm trying to control Visibility of a button in a pop-up based on whether or not the parameter passed to it is assigned:
COMM_ERR({#2}), result makes it invisible.
The idea that if parameter is assigned, the button is there; if not - there is no button.
It works,.. but only one time, on the first display of the pop-up! If I close it and open again, the script doesn't do anything and the button remains visible. And it doesn't work again until I save the pop-up display offline and open "brand new one". I don't cache the pop-up, and I tried flushing cache anyways - no difference...
Has anybody used the COMM_ERR function this way?
I'm trying to control Visibility of a button in a pop-up based on whether or not the parameter passed to it is assigned:
COMM_ERR({#2}), result makes it invisible.
The idea that if parameter is assigned, the button is there; if not - there is no button.
It works,.. but only one time, on the first display of the pop-up! If I close it and open again, the script doesn't do anything and the button remains visible. And it doesn't work again until I save the pop-up display offline and open "brand new one". I don't cache the pop-up, and I tried flushing cache anyways - no difference...
Has anybody used the COMM_ERR function this way?