PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Populating the Entry object

  1. My request is rather simple: a function that is passed an entry_id and returns whether that entry is starred. (is_starred)

    This logic will be on an unrelated Wordpress page (ie. no Gravity Form present on the page).

    My understanding is that the best way is to populated the Entry object with the particular entry requested. Does the API expose anything that helps me do this? Of course, I could query the database directly, but I feel that's a rather weak implementation.

    Posted 13 years ago on Tuesday March 20, 2012 | Permalink
  2. Your question is extremely ambiguous AND it's a customization question and not a support question related to a built in feature or functionality.

    While we are willing to provide input and guidance when it comes to customizations, they are a low priority for our support forum moderators who are not necessarily programmers. They are supporting a commercial product and the features and functionality of that product, they aren't supporting code customizations.

    The best way to call attention to customization related questions is to submit a Priority Support request if you have a Developer License.

    To answer your question, there is no API for displaying form entry data. That isn't what Gravity Forms focus is on. The form entry data is only displayed in the admin area Gravity Forms using the entry management tools. If you want to display, manipulate, or customize where and how entry data is displayed you would need to query the data directly from the database and display it however you would like using custom code.

    We do plan on introducing functionality to display and return entry data via shortcodes and function calls later this year as part of a new Add-On we are developing. It will not be part of the core plugin because the vast majority of Gravity Forms users don't need this functionality.

    Posted 13 years ago on Tuesday March 27, 2012 | Permalink

This topic has been resolved and has been closed to new replies.