Before Form Submit | WordPress.org

[ad_1]

Hello,

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’t match.

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.

I tried also buddyforms_process_post_start, but this I think is a old hook that doesn’t exists anymore.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer