NetTalk Central

Author Topic: Webinar 136 and extrapolating the clear concept to a check box  (Read 4278 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
    • Email
Webinar 136 and extrapolating the clear concept to a check box
« on: January 29, 2018, 02:33:44 PM »
Hi Bruce,
In webinar 136 at:
"(0:03) Johan - using a local variable I need to filter invoice transactions for a customer (child table)  and the customer details"

you displayed how to clear a local variable field.
I am trying to do exactly the same process with a checkbox on a Form.

my Q. is - will this work for a check box because despite my best endevours I cannot get the check box to refresh to the correct status of the sessionvalue, following the "Clear" button push
If I stop statement it, the session variable changes from 1 to 0 OK but I cannot get "Yes" to "No"

Cheers
Richard


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Webinar 136 and extrapolating the clear concept to a check box
« Reply #1 on: January 30, 2018, 05:32:26 AM »
Hi Richard,

Is the checkbox set to "refresh itself". ie add itself to the reset list on the client-side tab.

cheers
Bruce

Richard I

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
    • Email
Re: Webinar 136 and extrapolating the clear concept to a check box
« Reply #2 on: January 30, 2018, 11:44:23 AM »
Thanks Bruce,
On the local variable  called loclatemeal
I have...
1.In the server side code p_web.SSV('MyNewVal',loclatemeal)
and
2.in the reset list I have ..
loclatemeal value

regards,
Richard

Richard I

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
    • Email
Re: Webinar 136 and extrapolating the clear concept to a check box
« Reply #3 on: January 30, 2018, 12:27:35 PM »
Bruce,
Done it thanks...
Cheers
R
« Last Edit: January 30, 2018, 07:00:52 PM by Richard I »