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

  1. vidforweb
    Posted 2 years 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/


  2. vidforweb
    Posted 2 years ago #

    found it.

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

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