Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello everyone, I have a button with a variable (vButton). When the button is pressed, the variable receives the value 2. The value 1 is preset.
Now I have a selection field next to it. The content (S_Custom.Custom) may only be displayed if the button has been pressed beforehand (vButton=2). So I wrote:
if(vButton=2, S_Custom.Custom, null())
However, the selection field is always displayed without values. Regardless of whether the button was pressed or not. To check, I let the variable be displayed in a table. If I click the button, the value is changed from 1 to 2 and the condition should be met.
Unfortunately that doesn't work.
Have you had similar experiences? Have you possibly found another solution for this?
Enclose your variable in dollar-sign expansion:
if($(vButton)=2, S_Custom.Custom, null())
Enclose your variable in dollar-sign expansion:
if($(vButton)=2, S_Custom.Custom, null())
Many Thanks. I didn't even think about that anymore. The solution is that simple.