NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on June 30, 2015, 02:13:45 PM
-
Hi Guys,
I am trying to set a session variable by adding an "Other" button to a NWB.
I can't seem to find the correct embed for adding source-code to the button.
Nothing happens when adding code to the Value:Routine for the button.
Should I perhaps use another embed?
-
Hi,
Perhaps try: on the properties of the button, on the "Client-Side" tab, check "Send Button Click to server" and then click on the "Server Code" button.
Regards
Parker
-
what Parker said -
and the correct embed point is the
Validate::whatever routine
not the Value::whatever routine
cheers
Bruce
-
Thanks Bruce,
When I tick the box "Send Button Click to server" the NWB button almost becomes a flat checkbox?
When I click the button in the NWB it dimms, and stay dimmed even if I click another row.
When I uncheck "Send Button Click to server" the button goes back to a "normal" push button.
Am I doing something wrong?
PS: The code for session value works when "Send Button Click to server" selected :-)
-
>> Am I doing something wrong?
sounds like it. Maybe you should post an example so we can see the effect here.
cheers
Bruce