{"id":9307397,"date":"2017-07-11T06:38:41","date_gmt":"2017-07-11T06:38:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/avoid-optional-review-fields-counting-as-zero-when-empty\/"},"modified":"2017-07-11T06:38:41","modified_gmt":"2017-07-11T06:38:41","slug":"avoid-optional-review-fields-counting-as-zero-when-empty","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/avoid-optional-review-fields-counting-as-zero-when-empty\/","title":{"rendered":"Avoid optional review fields counting as zero when empty"},"content":{"rendered":"<p>Hi, when I add review fields, the overall rating is calculated as average of those review fileds. When I make some of these review fields optional and nothing is entered, the systems seems to count this as 0 which drives down the average. Is is possible to set optional fields to n\/a when nothing is entered so it doesn&#8217;t get counted into the average? Thanks<\/p>\n","protected":false},"template":"","class_list":["post-9307397","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9307397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9307397\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9307397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}