I am trying to create a button that toggles the value of a variable and it does not work.
This is what I have in the action's onclick event:
IF(Condition='#ShowCC==0')
MSGBOX(Text="Got Here 1')
VARIABLE(NAME='ShowCC',Value='1',Scope='1')
ELSE
MSGBOX(Text="Got Here 2')
VARIABLE(NAME='ShowCC',Value='0',Scope='1')
Neither message box displays. Still doesn't work when I have the following line of code execute first:
VARIABLE(Name='ShowCC',Value='1',Scope='1')
Thanks,
Kevin
I am trying to create a button that toggles the value of a variable and it does not work.
This is what I have in the action's onclick event:
IF(Condition='#ShowCC==0')
MSGBOX(Text="Got Here 1')
VARIABLE(NAME='ShowCC',Value='1',Scope='1')
ELSE
MSGBOX(Text="Got Here 2')
VARIABLE(NAME='ShowCC',Value='0',Scope='1')
Neither message box displays. Still doesn't work when I have the following line of code execute first:
VARIABLE(Name='ShowCC',Value='1',Scope='1')
Thanks,
Kevin