{"id":14968268,"date":"2021-10-13T23:12:43","date_gmt":"2021-10-13T23:12:43","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/function-submit_form-returns-false\/"},"modified":"2021-10-13T23:12:43","modified_gmt":"2021-10-13T23:12:43","slug":"function-submit_form-returns-false","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/function-submit_form-returns-false\/","title":{"rendered":"Function submit_form() returns false"},"content":{"rendered":"<p>Hello,<br \/>\nEverything works great except, after submitting form it shows &#8220;There are no product added in the enquiry cart&#8221; instead of &#8220;Enquiry submitted&#8221;. I found function submit_form() that returns false in my case, so function saveEnquiry() also must give 0, but I can see saved enquiries in &#8220;Enquiries&#8221; tab and in emails.<br \/>\nPlease help.<br \/>\nThank You.<\/p>\n","protected":false},"template":"","class_list":["post-14968268","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14968268","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\/14968268\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14968268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}