Advanced Controls: TextBox reset in case of undefined variable
Hello
I am using advanced control text box with python to do conditional formatting. Unfortunately if the variable is undefined I cannot reset the formatting to warn the user something is wrong with the control which results in previous value being displayed. Is there any way to to change the text string/background color in case any variable is undefined?

My code below:
Thank you
Best regards
Michal

