Contact Form DB
[Plugin: Contact Form 7 to Database Extension] How do I get other WP fields into CFDB fields? (4 posts)

  1. Chris Andersen
    Posted 4 years ago #

    Don't want to force people to enter info twice.
    i.e.: URL or email from the user registration.

    How do I get homepage or email directly into the CFDB?
    Something like: If the user put in his registered username CFDB is including url and email automatically from the wp database into the CFDB.

    What do you think?


  2. Michael Simpson
    Plugin Author

    Posted 4 years ago #

    If a user is registered on your WP site, then all form submissions will capture his login id in a "Submitted Login" field. You can use that in a short code to filter results for that user. See: http://cfdbplugin.com/?page_id=116

    You could also try using cookies to track the user and use '$_COOKIE(value)' in a short code filter.

  3. tarundeology
    Posted 4 years ago #

    Hi micheal.

    Thanks for this wonderful plugin.
    I used cf7 for events that require registration (All-in-One Event Calendar).

    Is it possible to include Event Title (Post Title), Event ID (Post ID), and Event date (not Post date) in the database? The data submitted using the form is not so useful without those data.


  4. Michael Simpson
    Plugin Author

    Posted 4 years ago #

    No, the post/page info that the form is on will not be captured in the DB on submission.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form DB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic