Elementor Form - Add an option to automatically save form data to a wp database table #36169
nosnihj77
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Describe the Problem
Currently there isn't an option to be able to save data from Elementor Form to a table in the WP database.
Propose a Solution
It would be nice if when a form is set up, there would be an option to be able to save the form's data to a WordPress table.
Additional Context
Currently I can do it manually, but it's a pain. (1) Create an Elementor Form. (2) Create a WP table (ie: using phpMyAdmin) with fields and datatypes that exactly match the Elementor form's fields, (3) Write some PHP code to create a function to save the form's data to the Wp data table (4) Create a shortcode container on the Elementor page and add the PHP function's shortcode so it fires when the form is submitted. (5) Since I want to be able for users to be able to edit the data on the Elementor webpage, then I create a wpDataTable as a SQL source so it's hooked up to the WP database table. (6) Then I add a shortcode container on the Elementor page and add the wpDataTable shortcode.
Agreement
All reactions