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.

Possible to Add how many entries in a certain form

  1. Hello, I run a website and we do giveaways all of the time. I designate a certian form for a giveaway that is currently running. Is there a way I can show on each post how many people have currently entered in the form? Thanks!

    http://prizeblade.com

    Posted 13 years ago on Thursday February 17, 2011 | Permalink
  2. You would have to use PHP to display the number of entries for a specific form id.

    Here is a code snippet that does that:

    <?php
    $summary = RGFormsModel::get_form_counts(2);
    echo "The Form count for Form #2 is: ".$summary['total'].".";
    ?>

    The example above shows the number of entries for form id 2. You would change the 2 in the get_form_counts(2) with the form id you want to display the total number of entries for.

    Posted 13 years ago on Thursday February 17, 2011 | Permalink