{"id":9343480,"date":"2017-07-23T05:27:13","date_gmt":"2017-07-23T05:27:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/or-2\/"},"modified":"2017-07-23T05:27:13","modified_gmt":"2017-07-23T05:27:13","slug":"or-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/or-2\/","title":{"rendered":"OR"},"content":{"rendered":"<p>Hi,<br \/>\nHow would I do this?<\/p>\n<p>I have fieldname1 = enter weight in pounds. fieldname2 = enter weight in kg. People will choose to input a value in either fieldname1 or fieldname2. If people enter a value in fieldname1 then fieldname2 will be disabled and vice versa (you can&#8217;t have people input a value in both fieldname1 and fieldname2 at the same time, one or the other but not both).<br \/>\nFieldname3 will be the result of fieldname1\/2.2 if people input a value in fieldname1. If people input a value in fieldname2 then fieldname3 will be the result of fieldname2x1.<\/p>\n<p>Thank you.<\/p>\n","protected":false},"template":"","class_list":["post-9343480","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9343480","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\/9343480\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9343480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}