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.
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.
Did anyone ever respond to this? I would like to know how to do the same thing.
Here's a similar topic which should have the info you want.
http://forum.gravityhelp.com/topic/display-entries-count-on-site#post-3867
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.
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.
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 :)