{"id":194,"date":"2012-11-08T16:23:35","date_gmt":"2012-11-08T21:23:35","guid":{"rendered":"https:\/\/jeremystein.com\/brain\/?p=194"},"modified":"2012-11-08T16:23:35","modified_gmt":"2012-11-08T21:23:35","slug":"infopath-checkbox-onchange-doesnt-work-when-deployed-to-sharepoint","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/infopath-checkbox-onchange-doesnt-work-when-deployed-to-sharepoint\/","title":{"rendered":"InfoPath checkbox onchange doesn&#8217;t work when deployed to SharePoint"},"content":{"rendered":"<p>Sometimes it may seem that the onchange for a boolean value associated with a checkbox isn&#8217;t getting set properly or won&#8217;t respond to the onchange event.  It works locally, but not on SharePoint.  What&#8217;s really happening is that the change isn&#8217;t being sent to the server immediately.<\/p>\n<p>To fix this, go to the checkbox&#8217;s properties and in the &#8220;Browser forms&#8221; tab set the &#8220;Postback settings&#8221; to &#8220;Always&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jeremystein.com\/brain\/wp-content\/uploads\/2012\/11\/checkbox_properties.png\" width=\"437\" height=\"406\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes it may seem that the onchange for a boolean value associated with a checkbox isn&#8217;t getting set properly or won&#8217;t respond to the onchange event. It works locally, but not on SharePoint. What&#8217;s really happening is that the change isn&#8217;t being sent to the server immediately. To fix this, go to the checkbox&#8217;s properties [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,13],"tags":[],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-infopath","category-sharepoint"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}