como-salvar-os-dados-do-seu-formulario-de-contato-no-wordpress

How to Save WordPress Form Data to a Database (Easy Guide)

Quando alguém preenche um formulário no seu site WordPress, para onde esses dados realmente vão? Se você estiver usando o plugin de formulário certo, a resposta é: direto para o banco de dados do seu WordPress, automaticamente.

Com o WPForms, cada envio de formulário é armazenado no banco de dados do seu site no momento em que um visitante clica em enviar. Você não precisa configurar nada extra.

A partir daí, você pode visualizar envios, pesquisá-los e filtrá-los, exportar para CSV ou Excel, sincronizar com o Google Sheets e até gerar PDFs.

Neste guia, mostrarei exatamente onde seus dados de formulário do WordPress residem, como acessá-los, como gerenciar seus envios no painel e o que você pode fazer com todos esses dados armazenados.

Crie seu formulário WordPress agora

How to Save Form Data in WordPress Database

As you’ll learn below, you should be able to access and view your WordPress database even if you don’t have a technical background. Let’s start with where the data actually lives, then move into how you access and manage it.

Where Is the WordPress Database Stored?

Mesmo que você não o veja no frontend, o WordPress cria automaticamente um banco de dados para você quando é instalado pela primeira vez.

Os dados de nome, host, nome de usuário e senha são armazenados no arquivo de configuração chamado wp-config.php nas configurações do banco de dados MySQL.

WPForms stores all submitted form data in 6 tables in your native WordPress database:

  • wp_wpforms_entries: The field values from your form submissions are stored here.
  • wp_wpforms_entry_meta: Meta information about your entries like associated IDs and dates.
  • wp_wpforms_entry_fields: Encoded entry information from your forms.
  • wp_wpforms_tasks_meta: Information about background tasks processed by WPForms.
  • wp_wpforms_payments: Payment details including status, amount, any discounts applied, currency, gateway, and transaction ID.
  • wp_wpforms_payment_meta: Additional payment information such as the customer’s IP address and other internal data.

Note that the wp_ prefix is the default. The actual prefix is set in your wp-config.php file, so it may look slightly different on your site.

Most WordPress hosting providers include phpMyAdmin, a web-based database management tool that lets you browse and manage your database entries through a visual interface.

If you’re using Bluehost, you can find phpMyAdmin by scrolling to the bottom of your dashboard under Helpful Links » Advanced » phpMyAdmin.

how to access wordpress database

How Do I Access My WordPress Database?

To view your form entries directly in the database using phpMyAdmin, select your WordPress database and click on the wp_wpforms_entries table.

Opening the wp_wpforms_entries table in phpMyAdmin

You’ll find all your form entries in the fields column. You can browse, search, and create tables from here. For more details, check out this beginner’s guide to WordPress database management with phpMyAdmin.

fields column-wordpress database

That said, most people don’t need to touch phpMyAdmin at all. WPForms gives you a much easier way to manage everything from your WordPress dashboard, which is what we’ll cover next.

How to Manage Form Entries in WordPress

Importante

WPForms Lite sends form submissions via email. To save entries to the database and manage them from your dashboard, you need WPForms Basic ($49.50/year) or higher.

Not sure which version you need? Check out this guide to learn about WPForms Lite vs Pro.

If you’re wondering where does WPForms data go? —it goes right into your WordPress dashboard under WPForms » Entries. You don’t have to dig through phpMyAdmin or database tables.

A página inicial do WPForms

Let’s walk through how to view and manage your entries. First, you’ll need a form. If you don’t have one yet, check out our guide on how to create a simple contact form. You can build one from scratch or pick from 2,100+ templates.

search templates

Before moving on, make sure entry storage is enabled. Go to your form builder and click Settings » General. Under the Advanced section, confirm that Disable entry storing information in WordPress is turned off.

Desativar armazenamento de entradas

After publishing your form, submit a test entry so you have data to work with. Then navigate to WPForms » Entries in your dashboard.

View SendFox WordPress form entries in WPForms

From here, you can favorite entries, mark them as read, or delete the ones you don’t need. You can even classify specific entries as spam.

visualização de entradas wpforms

You can also search and filter your entries. Use the broad Any form field search, or set conditions across specific fields to find a particular submission.

wpforms entries search option

If you want, you can also filter form entries by date, which is really useful when you want to trace entries that probably got lost among others.

wpforms filtrar entradas por data

Para abrir a página de entrada individual de um determinado envio, abra a página de Entradas do Formulário e clique em Visualizar ao lado da entrada que você gostaria de ver com mais detalhes.

clique para ver entrada individual

A partir de uma página de entrada individual, você pode ver muitas informações, incluindo a entrada e as seleções do campo do usuário, a data de envio e os detalhes do usuário, se aplicável.

Viewing Payments in WPForms

If you’re collecting payments through your forms, you can accept credit card payments with the free version or with WPForms Pro.

Payment details are stored in the WordPress database regardless of which version you use. Access your payment data on the Payments screen in the WPForms settings area.

Configurações de pagamentos do WPForms

Here, you’ll find a list of all the payments made on your site with their details and the specific form used to make them.

Na parte superior da página de Pagamentos, você verá imediatamente uma representação visual das suas informações de pagamento por meio de um gráfico. Este gráfico fornece uma visão geral dos seus dados de pagamento.

Tela de pagamentos para formulário de pedido online

If you’re a WPForms Pro user, you can also add coupon codes to your forms. Coupon details show up in the Payments area alongside your revenue and transactions.

What to Do With Your Stored Form Data

Once your form entries are saved in the database, WPForms gives you several ways to put that data to work beyond just viewing it in the dashboard.

Export to CSV or Excel

You can export entries directly from the Entries screen as a CSV or XLSX file. This is useful for offline analysis, sharing data with your team, or importing into other tools. See our guides on exporting form entries to CSV and exporting to Excel for the full walkthrough.

export entries

Send Entries to Google Sheets Automatically

With the Google Sheets addon (requires a Pro license), every new form submission syncs to a Google spreadsheet in real time. No manual exports needed. This is useful if your team already works in Google Workspace and wants live access to form data.

access google sheet data

Generate PDFs from Entries

The PDF addon (requires a Pro license) lets you auto-generate styled PDF documents from form submissions. You can use this for contracts, receipts, applications, or any scenario where you need a formatted document from form data. You can also save form submissions as PDF files and send them as email attachments.

PDF financial template

Automate Entry Management

The Entry Automation addon (requires an Elite license) lets you schedule automatic entry exports, deletions, and notifications. For example, you could automate your entry exports to run every Monday morning, or auto-delete entries older than 90 days to keep your database clean.

adicionar nova tarefa

Connect to 10,000+ apps

With the Zapier addon or Make addon (requires a Pro license), you can send form data to virtually any external tool: CRMs, project management apps, email platforms, spreadsheets, and more.

integrações wpforms

Bonus: Keeping Your Stored Form Data GDPR Compliant

If you’re collecting personal information from visitors in the EU, GDPR compliance is a requirement. The good news is that WPForms stores all entry data on your own server.

Your data never passes through WPForms’ servers, and they have zero access to your entries. That’s 100% data privacy by default.

Beyond that, WPForms includes built-in GDPR tools across all license tiers. Here’s what you can do: Enable GDPR Enhancements.

Go to WPForms » Settings » General and toggle on GDPR Enhancements. This unlocks additional privacy controls:

  • Disable User Cookies: Stops WPForms from assigning a UUID cookie to visitors. (This also disables Related Entries, Geolocation, and Form Abandonment features.)
  • Disable User Details: Prevents collection of IP addresses and user agent data. You can apply this site-wide or on a per-form basis under Settings » General » Advanced in the form builder.

Add a GDPR Agreement field

When GDPR Enhancements are enabled, a dedicated GDPR Agreement checkbox becomes available in the form builder. This field is always required, has no default checked state, and provides the explicit consent that GDPR requires before collecting personal data.

For a detailed walkthrough, see the full guide on creating GDPR-compliant forms in the WPForms documentation. And if your forms handle sensitive data, consult with legal counsel to make sure your setup meets your specific compliance obligations.

A Note on Email Notifications

If you’re seeing entries saved in your dashboard but not receiving email notifications about new submissions, that’s an email delivery issue, not a database problem. See our guide on how to fix WordPress contact form email issues for the full solution.

FAQs About Saving WordPress Form Data to a Database

Here are answers to common questions about WordPress form data storage.

Does WPForms Lite save form entries to the database?

No. WPForms Lite sends submissions via email only. It does not store entries in your WordPress database or dashboard. To save entries to the database, you need WPForms Basic ($49.50/year) or higher. See our guide on how to see entries for free in WPForms for alternatives.

Where does WPForms data go?

WPForms stores all form data in 6 tables in your native WordPress database (wp_wpforms_entries, wp_wpforms_entry_meta, wp_wpforms_entry_fields, wp_wpforms_tasks_meta, wp_wpforms_payments, and wp_wpforms_payment_meta). You can access entries from WPForms » Entries in your dashboard, or view the raw data through phpMyAdmin. Your data stays on your server and is never sent to WPForms’ servers.

Can I export WordPress form entries?

Yes. WPForms lets you export entries as CSV or XLSX files directly from the Entries screen. With the Pro plan, you can also auto-sync entries to Google Sheets in real time, generate PDFs, or connect to external tools via Zapier or Make.

Next, Export and Save Your Form Entries

Now you know exactly where your WordPress form data is stored, how to manage it from your dashboard, and how to put it to work with exports, integrations, and automation.

If you want to take the next step, check out our guides on how to export WordPress form entries to CSV and how to save form submissions as PDF files.

Crie seu formulário WordPress agora

Pronto para construir seu formulário? Comece hoje mesmo com o plugin construtor de formulários WordPress mais fácil. WPForms Pro inclui muitos modelos gratuitos e oferece uma garantia de devolução do dinheiro em 14 dias.

Se este artigo ajudou você, por favor, siga-nos no Facebook e Twitter para mais tutoriais e guias gratuitos do WordPress.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que se você clicar em alguns de nossos links, poderemos ganhar uma comissão. Veja como o WPForms é financiado, por que isso importa e como você pode nos apoiar.

Hamza Shahid

Hamza é Redator da equipe WPForms, que também se especializa em tópicos relacionados a marketing digital, segurança cibernética, plugins do WordPress e sistemas ERP. Saiba Mais

O Melhor Plugin Construtor de Formulários de Arrastar e Soltar para WordPress

Fácil, Rápido e Seguro. Junte-se a mais de 6 milhões de proprietários de sites que confiam no WPForms.

20 comments on “How to Save WordPress Form Data to a Database (Easy Guide)

    1. Hey Jem, we are sorry for any trouble. In order to make sure we answer your question as thoroughly as possible and avoid any confusion.

      Would you mind reach out to us with additional details and form URL so that we can help you further on this case?

      Obrigado.

  1. The article is confusing, i wasted few hours with wpforms and now i see that wpform is not storing data in database and the only table created by wpforms is wp_forms_tasks_meta

    1. Olá,

      We are sorry for any trouble. In order to make sure we answer your question as thoroughly as possible and avoid any confusion.

      Would you mind reaching out to us with additional details of the issue you are facing here!

      Obrigado 🙂

      1. Same as the above user. Totally outdated doc. This is probably a money grab. It now says:

        Your form entries are not being stored locally, but are backed up remotely. If you upgrade to WPForms PRO, you can restore your entries and they’ll be available in the WordPress dashboard.

        It appears they stop storing it in the DB.

      2. Olá Jason,

        I am sorry to hear about the confusion you are facing here! Please know that this article is regarding the data table of how the data is stored in the database. The one that you are referring to, is the Lite Connect feature to enable storage of entries while you are the Lite version. Please see this guide for more details.

        Espero que ajude!

    1. Hi Manisha,

      to connect WPForms to a MySQL database would be great, though we do not have one at the moment. I have made a note and placed it on our feature list to consider in the future as we continue to plan out our roadmap.

      I see that Zapier, a connector service, does have the ability to connect to this. If you’d like to consider that approach, it would be a way you could possibly connect to the service now. We have a Zapier addon available with our Pro license level or higher .

      Here’s our tutorial on setting up the Zapier addon.

      You can see Zapier’s page on this specific integration here

      Espero que ajude! 🙂

  2. Hello,
    Is it possible to encrypt the personnal datas in database?
    We’d like not to have personnal datas in clear in database

    1. Hi Sylvain – I am sorry as we do not have an inbuilt feature to encrypt data at database level. However, we do follow the standard rules of WordPress in storing data in database.

      Espero que ajude! 🙂

  3. I would just like to be able to edit the form entry data in more of a grid view instead of having to go into each form submission. Users enter data and then we update a few other fields. Is there a “sheet editor” view that allows updating more than one record at a time?

    1. Hey Jason – I apologize, we currently don’t have a entry sheet editor feature that would allow you to edit multiple entires at once. I do agree this would be great, and I’ll add this into our feature request tracker so that it’s on the developer’s radar.

  4. Hello there, can you help me with an issue, I do update a spesific value in all the saved entries in db and they are shown the correct value, but in the dashboard the system still shows the entry entered from the form which is different and doesn’t change.
    Why is this happening?

  5. I’m working with the WPFORM plugin in WordPress, and I want to configure it to allow users to upload only CSV files. Specifically, I want to read and process the CSV data once it’s uploaded. Does anyone have experience with this or can guide me on how to achieve it?”

    1. Hi Keely – We don’t currently have any built-in ability to display form submissions, though I agree this would be super useful and have noted it on our feature request list.

      In the meantime, if you’re willing to give some code a try we do have a code snippet that will allow you to display a table of all entries on the frontend of your site.

      The code from that tutorial will create a shortcode that can display a table with all entry data for a form. The code is ready to go, you just need to copy and paste it. Then, much like the shortcode that displays our forms, you’ll need to add the following shortcode to your page content:

      [wpforms_entries_table id=”FORMID”]

      Within this shortcode, FORMID will need to be replaced with the ID of your form. Here’s a screenshot showing one way to find a form’s ID.

      And in case it helps, here’s our tutorial with the most common ways to add custom code like this.

      For the most beginner-friendly option in that tutorial, I’d recommend using the WPCode plugin. This will protect your code from updates and keep it easy to manage right within your WordPress admin area.

      Espero que isso ajude! Obrigado 🙂

Adicionar um comentário

Ficamos felizes que você tenha escolhido deixar um comentário. Por favor, tenha em mente que todos os comentários são moderados de acordo com nossa política de privacidade, e todos os links são nofollow. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.

Este formulário é protegido pelo Cloudflare Turnstile e aplicam-se a Política de Privacidade e Termos de Serviço da Cloudflare.