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.

Echo contents of a form in a widget

  1. Anonymous
    Unregistered

    Is the a way to echo the contents of a form through a php widget? I want to use it to create an event item, with a time, date, room numer, and agenda details, and loop through all non expired events, and put them in a sidebar widget space. Is there a helper for that? I have not seen any examples for echo'ing individual columns within a form, much less, crating a report. Thanks in advance.

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  2. Hello, i'm a little confused as to what exactly you want to do based on the description you provided. Can you elaborate some more and then I can determine if it's possible right now. Thanks!

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  3. Anonymous
    Unregistered

    I want to write some php code that will loop through the data and print out the items in the database. I am not sure what kind of schema you use. Basically something like the loop for posts, but just for the data I have created.

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  4. So you want to loop through and display form entry data on the front end?

    There isn't anything to do that right now. We have plans for introducing a shortcode and function in the future for displaying entry data on the frontend (ex. for event registration you could display a list of the registered attendees) but it doesn't exist yet.

    You could write PHP that displays information from the table that entry data is stored in based on the form id.

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  5. Anonymous
    Unregistered

    Yes, that is what I want. What tables would I need to look at?

    thanks,
    Danny

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  6. Entry data is stored in a few different tables. If you look at them one by one starting with the first one I list below you will see how they are related to each other. The 2 you will primarily be concerned with are:

    - rg_lead
    - rg_lead_detail

    Obviously the table names will vary slightly as they will have your WordPress database prefix in front of them.

    We plan on adding this functionality as a plugin feature in the future, but I don't have a timetable. But it's on the to do list.

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  7. Anonymous
    Unregistered

    Sounds great. That is the one thing I still use pods for now, and then I could probably use this for about everything.

    Posted 15 years ago on Monday September 28, 2009 | Permalink

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