{"id":10049,"date":"2016-03-17T13:27:28","date_gmt":"2016-03-17T19:27:28","guid":{"rendered":"http:\/\/www.mrc-productivity.com\/techblog\/?p=10049"},"modified":"2026-07-22T16:10:25","modified_gmt":"2026-07-22T22:10:25","slug":"multi-values-checkboxes","status":"publish","type":"ht_kb","link":"https:\/\/www.mrc-productivity.com\/techblog\/?ht_kb=multi-values-checkboxes","title":{"rendered":"Multi-values Checkboxes"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">m-Power maintainer type applications have long supported checkboxes as alternative options to a text input.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A checkbox list in a web form would imply multiple values can be selected, as opposed to just one single value. This document will explain specifically how multi-value checkboxes can be set up in your maintainer form.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To implement:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open m-Painter <\/li>\n\n\n\n<li>Insert an option list on your input that will be a checkbox.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it! Once you save and run your application, the checkbox option will appear and innately allow multiple selections:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/techblog\/images\/multivalue_checkbox_1.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In the database, the multiple selections will be stored in a single column, delimited with the<strong> ||<\/strong> separator:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td class=\"has-text-align-right\" data-align=\"right\">ID<\/td><td class=\"has-text-align-left\" data-align=\"left\">QUESTION<\/td><td class=\"has-text-align-left\" data-align=\"left\">ANSWER<\/td><\/tr><tr><td class=\"has-text-align-right\" data-align=\"right\">1<\/td><td class=\"has-text-align-left\" data-align=\"left\">What does Matt like to eat?<\/td><td class=\"has-text-align-left\" data-align=\"left\">Cake||Peanuts<\/td><\/tr><tr><td class=\"has-text-align-right\" data-align=\"right\">2<\/td><td class=\"has-text-align-left\" data-align=\"left\">What does Billy like to eat?<\/td><td class=\"has-text-align-left\" data-align=\"left\">Cake||Popcorn<\/td><\/tr><tr><td class=\"has-text-align-right\" data-align=\"right\">3<\/td><td class=\"has-text-align-left\" data-align=\"left\">What does Rick like to eat?<\/td><td class=\"has-text-align-left\" data-align=\"left\">Cake||Cookies||Popcorn<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The default delimiter will be double pipes:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>value1<strong>||<\/strong>value2<strong>||<\/strong>value3<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you wish to use a different symbol set as a delimiter, go to <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Admin<\/strong> -> <strong>Dictionary Configuration<\/strong> -> <strong>Runtime Application Settings<\/strong>. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here you should change the <em>Delimiter for Multi Checkbox<\/em> option to a character(s) of your choosing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/techblog\/images\/multivalue_checkbox_3.png\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>m-Power maintainer type applications have long supported checkboxes as alternative options to a text input. A checkbox list in a web form would imply multiple values can be selected, as opposed to just one single value. This document will explain specifically how multi-value checkboxes can be set up in your&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[153],"ht-kb-tag":[],"class_list":["post-10049","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-general"],"_links":{"self":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb\/10049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10049"}],"version-history":[{"count":11,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb\/10049\/revisions"}],"predecessor-version":[{"id":12614,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=\/wp\/v2\/ht-kb\/10049\/revisions\/12614"}],"wp:attachment":[{"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10049"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-category&post=10049"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/techblog\/index.php?rest_route=%2Fwp%2Fv2%2Fht-kb-tag&post=10049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}