WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form DB
[resolved] Confused as to how to display only the most recent DB entry (2 posts)

  1. vidforweb
    Member
    Posted 6 months ago #

    Hello! I'm trying to display specific entries after a user fills out a Contact 7 form.

    I'd like to display the data that was just entered by the user to personalize the thank you page. For some reason, it's displaying only the result of a previous entry.

    My shortcode, which I created in the Admin panel, looks like this: [cfdb-value form="Video Contest Submission Form" show="your-name" role="Anyone" permissionmsg="false" limit="1,1" orderby="submit_time"]

    The form is here: http://stoptheslip.com/submit-your-video/ and the thank you page is here: http://stoptheslip.com/submit-your-video/video-contest-video-upload/

    http://wordpress.org/plugins/contact-form-7-to-database-extension/

  2. vidforweb
    Member
    Posted 6 months ago #

    found it.

    To get the most recent entry, use limit="1" orderby="submit_time DESC"

Reply

You must log in to post.

About this Plugin

About this Topic