Hi @fahadzulfiqar26
I hope you’re well today!
I’m not quite sure if I correctly understand your question!
Forminator, being WordPress plugin, is already capable of storing data in the database. By default it’s set to do it for each form so each submission is stored in the DB.
If you can see your form’s submissions on the “Forminator -> Submissions” page, it means they are already in the database.
Otherwise, make sure that in the “Settings” section of you form (each one that you want to store submission in DB) the “Data storage” option is not set to disabled:
https://www.screencast.com/t/ddRKOKdpb
That data is stored in wp_frmt_form_entry and wp_frmt_form_entry_meta tables and if you want to use it in your own plugin/script you can fetch it from there using custom code either directly dealing with DB tables (via built-in WordPress functions) or using Forminator API.
If your question was about something else (like, for example, pushing data to external/3rd-party database) please describe the goal with as many details as possible and we’ll see what else/more we could suggest to help you with this.
Best regards,
Adam
yes my question was
pushing data to external/3rd-party database
I have a forminator registration form. When the user hits register button, I want the data to be stored in an external SQL SERVER database along with the default database.
HI @fahadzulfiqar26
Thank you for clarification.
Unless your external database is connected to some app that can integrate through one of integrations available in Forminator (such as e.g. Zapier or Google Sheets), you would need a custom code for that.
There’s an API built-in into Forminator that could be used for that, take a look here, please:
Forminator API docs
It will, however, take quite some code and I’m afraid that providing such custom code for such a specific use is outside the scope of this support.
Kind regards,
Adam
Hello @fahadzulfiqar26 ,
We haven’t heard from you for a while now, so it looks like you don’t need our assistance anymore.
Feel free to re-open this ticket if needed.
Kind regards
Kasia