{"action":"opened","issue":{"url":"https://api.github.com/repos/Codestar/codestar-framework/issues/83","labels_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/83/comments","events_url":"https://api.github.com/repos/Codestar/codestar-framework/issues/83/events","html_url":"https://github.com/Codestar/codestar-framework/issues/83","id":72691287,"number":83,"title":"Proper way to use checkbox value(multiple)","user":{"login":"sabuz","id":7956101,"avatar_url":"https://avatars.githubusercontent.com/u/7956101?v=3","gravatar_id":"","url":"https://api.github.com/users/sabuz","html_url":"https://github.com/sabuz","followers_url":"https://api.github.com/users/sabuz/followers","following_url":"https://api.github.com/users/sabuz/following{/other_user}","gists_url":"https://api.github.com/users/sabuz/gists{/gist_id}","starred_url":"https://api.github.com/users/sabuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabuz/subscriptions","organizations_url":"https://api.github.com/users/sabuz/orgs","repos_url":"https://api.github.com/users/sabuz/repos","events_url":"https://api.github.com/users/sabuz/events{/privacy}","received_events_url":"https://api.github.com/users/sabuz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-02T20:07:19Z","updated_at":"2015-05-02T20:07:19Z","closed_at":null,"body":"What is the proper way to use multiplecheckbox value?\r\n\r\narray(\r\n          'id'       => 'top_bar_elements',\r\n          'type'     => 'checkbox',\r\n          'title'    => 'Top Bar Elements',\r\n          'options'  => array(\r\n            'date'  => 'Date',\r\n            'menu' => 'Menu',\r\n          ),\r\n        ),\r\n\r\n<?php $topbar_elements = cs_get_option('top_bar_elements'); ?>\r\n<?php if( $topbar_elements[0] == 'date' ) : ?>\r\n\t.................................\r\n<?php endif; ?>\r\n\r\n\r\nThis is working....But showing  a warning message(Undefined Offset) when any element is not checked."}}