{"id":11264881,"date":"2019-03-01T20:20:21","date_gmt":"2019-03-01T20:20:21","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/problematic-field-at-email\/"},"modified":"2019-03-01T20:20:21","modified_gmt":"2019-03-01T20:20:21","slug":"problematic-field-at-email","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problematic-field-at-email\/","title":{"rendered":"Problematic field at email"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I do have some calculation field that does calculated just fine.<br \/>\nHowever, for some specifc result, the field goes like this to the email &#8220;undefined&#8221;<br \/>\nEven though the field display the right result on the form, it does not do it on the email.<br \/>\nWhat may be happening?<\/p>\n<p>I do have another question, please:<br \/>\nYou helped me determine some condition to a calculated field.<br \/>\nIf the result is zero, then it should display a message, instead of the calculation.<br \/>\nBut I have one option that also display the result = zero, but I would like it to show a different message.<br \/>\nBut this particularly option came from a different field (a multiple choice one)<br \/>\nIs there some way to make a condition for this also?<\/p>\n<p>Thank you very much<\/p>\n","protected":false},"template":"","class_list":["post-11264881","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11264881","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\/11264881\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11264881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}