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.

Displaying number of submitted entries

  1. net_mage
    Member

    I would like to be able to output/display the number of submitted entries of a form for event booking purposes. This way I can output a visual progress bar with that data so people can see how full an event is? Or display number of spots remaining.

    Posted 14 years ago on Friday December 18, 2009 | Permalink
  2. madrigal
    Member

    Did anyone ever respond to this? I would like to know how to do the same thing.

    Posted 14 years ago on Sunday October 3, 2010 | Permalink
  3. Here's a similar topic which should have the info you want.

    http://forum.gravityhelp.com/topic/display-entries-count-on-site#post-3867

    Posted 14 years ago on Sunday October 3, 2010 | Permalink
  4. madrigal
    Member

    Thanks Kevin but that topic talks about displaying the number of form submissions. I am looking to display the number of submissions remaining. An example would be "Only 6 spots remaining". I just don't know the php code to use in order to have the number decrease by 1 every time a submission is sent.

    Posted 14 years ago on Sunday October 3, 2010 | Permalink
  5. You would have to write PHP code to subtract that number from the total to get the number remaining. The total available would have to be hardcoded. You would have to use PHP to do math using the value returned by the entry count code in the post above.

    Posted 14 years ago on Monday October 4, 2010 | Permalink
  6. madrigal
    Member

    Thanks Carl. That's way beyond my level of expertise so I'll just deal with not having it. It's funny how important something seems until you find out how much work is involved to get it :)

    Posted 14 years ago on Wednesday October 6, 2010 | Permalink