{"id":17032980,"date":"2023-09-07T11:44:14","date_gmt":"2023-09-07T11:44:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/before-form-submit\/"},"modified":"2023-09-07T11:44:14","modified_gmt":"2023-09-07T11:44:14","slug":"before-form-submit","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/before-form-submit\/","title":{"rendered":"Before Form Submit"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<br \/><br \/>I want to hook into the form submission. For example I want to check if the email from the form, matches from a list of emails.  And return an error if it doesn&#8217;t match.<br \/><br \/>I tried buddyforms_update_post_args and buddyforms_after_save_post, but this will already create the post and only after they will do my logic.<br \/><br \/>I tried also buddyforms_process_post_start, but this I think is a old hook that doesn&#8217;t exists anymore.<\/p>\n","protected":false},"template":"","class_list":["post-17032980","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17032980","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\/17032980\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17032980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}