Check wether a checkbox is checked

Scripting help and sample scripts for use with the Scripting Module
Post a reply

Check wether a checkbox is checked

Postby mesologie » January 21st, 2013, 10:05 pm

Is it possible to become a script that checks, whether a checkbox is checked (field's name is 'Huizer' in the table custom_session_fields? It should do this when CO is logged off. When this checkbox is checked (use field createdon for today's (the day of today) check of this checkbox) the logoff should be cancelled and a message should be displayed.

Thanks in advance.
http://www.mesoloog.info
User avatar
mesologie
 
Posts: 82
Joined: January 4th, 2010, 10:14 pm
Location: Netherlands
  • Website
Top

Re: Check wether a checkbox is checked

Postby Support » February 20th, 2013, 3:51 pm

Hi - thanks for your enquiry.

Yes it is possible to check a field in the session editor, but not at the point of logging off - which I don't really understand anyway. If you have 10,000 session notes in your database belonging to 1,000 different patients, which session note is it checking when you log off?!
ClinicOffice Support Team
User avatar
Support
Site Admin
 
Posts: 875
Joined: August 25th, 2005, 6:37 pm
Top


Post a reply

Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest

cron