I will show you the option if you know about the handler functions in php then you can follow the following sequence:
1. Create a function to check the form submission request, after checking the code from the form form successfully, the function will send mail to the user.
2. The function sends mail to the user via smtp to process sending mail right after the successful form check.
3. The function saves the data you want to the database after checking the form.
You can create these steps through a form action in php, or create a function to use ajax. In addition to saving data to the DB, you can use functions in php or if using pure wordpress, you can use $wpdb->insert
https://developer.wordpress.org/reference/classes/wpdb/insert/
Related Posts:
- What characters are allowed in an email address?
- Sending form data via PHPMailer – How to action PHP script from a form
- Contact Form 7 not sending emails- no confirmation, no error [closed]
- Remove field in the form : only works for “url”, not for “email”?
- PHP form is not sending mail if I use mime type and version in header. How to solve this? [closed]
- Downloadable content only for subscribers?
- WordPress Emails & Contact Forms [closed]
- Saved emails at dashboard
- Email from my theme’s contact form doesn’t get the reply-to address right
- Email form getting hacked
- Am receiving more than thousand mails in single day from ‘[email protected]’ continuously
- Sending Form data as Attachment
- Sending email via function in page or setting up the action properly in another page
- Send contact form to a specific referrer-email adres
- Username from e-mail
- Send message to author without showing email address [duplicate]
- Submit button returns to index page instead of sending data
- Form that stores emails [closed]
- What is & used for
- How to edit a user profile on the front end?
- How to display user registration form on front-end of the website?
- Creating a contact form without a plugin [closed]
- How to submit data from HTML form?
- Autocomplete for taxonomy input boxes on a front end form
- how to handle forms in multiple pages?
- $_POST empty on submit (same code, same form submits normally on local server)
- Gravity Forms skip form if already filled out using cookie?
- One comment per user per post
- How to sent one form values to 2 different sites in wordpress
- Looking for a simple approach for handling user $_POST data without AJAX?
- How to return variables from admin-post.php
- Setting specific image size for specific form upload file field
- Get data from dropdown and update page
- other shortcodes in Contact form 7 MAILS [closed]
- Using the WordPress selected() function
- Return to option page after running PHP script
- Help with forms and nonces
- Stripe Error: must provide source or customer [closed]
- How to submit form in a PHP file in WordPress?
- How to prevent page from resubmit on refresh when “Cannot modify header information – headers” warning shows
- WPForm, how to set date to tomorrow
- php form create 2 posts
- Creating a contact form with Laravel frontend
- Contact Form 7 – Add a Info Text to Checkboxes/Radiobuttons [closed]
- Make a form that will send email to all the authors in selected category [closed]
- How to make WordPress forms secure (HTTPS)
- Can you have more than one nonce on a page?
- Password protected page with a form submits for me fine but for others redirects them back to the password prompt
- How to add required fields in user profile admin page?
- Problem in getting Value through POST method after Login
- Java code/ JSP page in wordpress
- Form Submission Warning: Cannot modify header error only when plugin is deactivated
- Create a registration form with a PayPal checkout fee? [closed]
- comment form name and email not working?
- Checkboxes in a wordpress form are not showing as checked when selected [closed]
- Radio&Checkbox buttons Contact form 7 not clickable
- Complex Timesheet Form
- How to add a placeholder to the protected post password input
- How to change a form end email?
- Sending email for the custom form in WordPress
- Fatal error: Call to undefined function wp_insert_post()
- Simple form validation for custom post type in front end. Not working
- WordPress Frontend Post Form (Bootstrap Modal) Not Creating Post
- Inquiry form like on URL [closed]
- Update user meta on custom wordpress form and redirect
- Headers already sent on a frontend post form using wp_redirect before get_header
- Contact form with Jquery and PHP don’t work
- Can I have two submit buttons in one form? [closed]
- how do i make the “contact us” on a page created not to display
- How to create a form where you can select multiple recipients, based on a list of website users?
- sending form with time interval
- How to redirect a Link to a new tab in contact form 7?
- how do I hide or encrypt query strings for gravity forms
- Why is my contact form not working?
- Save and retrive data from a custom form to database
- Using an iframe for a form help
- Fatal Error with WP Forms
- Send Mail with link to current_user
- How to call or add password input / generate password / password strenght meter in custom registration form?
- Need to show results on the frontend of an admin form
- Form data being sent to parent directory
- fetch custom post if meta key exist
- Passing form data on submit
- Create a custom calculator in wordpress
- How to stopping auto scrolling after submitting the form?
- Preventing form resubmission on contact form plugin
- Plugin to get a result based on form checkbox
- How to handle dynamic form data with repeating fields?
- WordPress Form To Email.php and Theme
- Passing input value into name of input
- wp_insert_post with POST data
- wordpress not saving form code in code editor
- Create register form plus send post
- Auto populate a Form
- Order form for WP (similar to a wishlist) [closed]
- Adding Mailchimp API key dynamically
- WordPress – custom user flow registration approval
- Gravity form with paypal adon should return custom receipt
- I cannot enter the letter C in the form [closed]
- Add options to WordPress Blocks form dropdown field