WordPress.org

Ready to get started?Download WordPress

Forums

Accessing Form Data (7 posts)

  1. markf1
    Member
    Posted 3 years ago #

    We have a word press site that contains a reservation form. The form e-mails the data to our e-mail address. There seems to be some problem outside of wordpress whereby some of the form data was not e-mailed.

    My question: Is it possible to access the wordpress MySQL database to examine and/or retrieve any form data that may have been entered by a customer but not received in our e-mail?

    Thanks in advance for any help

  2. equalmark
    Member
    Posted 3 years ago #

    Are you using a plugin to create the form?

  3. markf1
    Member
    Posted 3 years ago #

    Thank you for your reply!

    I did not create the form but it appears to me that the form was created using a Plug In called Contact Form 7

    I can access some of the code for the form from the WP dashboard.

    Thanks for any help. We believe we have not received some submitted reservations. We'd like to confirm that and recover, if possible, that info that was not received.

  4. equalmark
    Member
    Posted 3 years ago #

    I am not familiar with Contact Form 7 but I guess that it may store its entries in the WordPress database somewhere.

    Take a look in phpmyadmin and see it is has its own tables.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    I'm not sure CF7 stores mails unless it's configured to do so - perhaps by adding a second plugin.

  6. markf1
    Member
    Posted 3 years ago #

    Thanks for your replies. I think that esmi may be correct. I looked at the CF7 docs and found this info on an extension that we do not appear to have installed.

    >>Contact Form 7 to Database Extension
    Extension to the Contact Form 7 plugin that saves submitted form data to the database.
    Takes submissions from Contact Form 7 plugin, saves them in the database and allows you to export the data.
    First a disclaimer: I am not the maker of Contact Form 7 or associated with it's author.
    That being said, I think Contact Form 7 is great...except for one thing. It does not save its information to the database. And if you get a lot of form submissions, then you end up sorting through a lot of email.
    Fortunately, the author of CF7 created a hook. So I wrote a plugin that hooks into CF7 and saves all of its form submissions to the database. You need to have both CF7 and this plugin installed and activated.
    This plugin also puts a menu item in the Administration Plugins menu where you can see the data in the database. It's pretty rudimentary but does the job.<<

    So I'm thinking that, because that extension is not installed, the form data has not been saved to the data base. I'm not sure if there's any way to retrieve this potentially lost (by e-mail) form data. It doesn't appear that it has been stored in any part of the WP database. If it has been stored somewhere in the database I don't know where to look for it.

  7. markf1
    Member
    Posted 3 years ago #

    I looked at the myPHP manager and I see that there is a record for CF7. It doesn't appear to have much in it. Only 2 records and 15.9K. Yu can see a screenshot here:

    http://www.openrangeimaging.com/Test/temp-screenshot01.jpg

    I am not very experienced at this. My question is: Does it appear that this might contain some of our lost reservation data?

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.