Home Tour Demo FAQ App Gallery Buy Now    
Home > Template Tags > How to display total of entries of a for...


How to display total of entries of a form?

{PRINTCOUNT}

{PRINTCOUNT:formName} tag will work like {LOOP} tag but it will only print the count of results accourding to your query.
 
{PRINTCOUNT} tag will print the result in parentheses as (total) if result is 0 then it will print nothing

For example:
{PRINTCOUNT:blog_posts} will print total of all blog posts as (150)

{QUERY:self_entries}
{PRINTCOUNT:blog_posts} will print the total of logged-in users blog posts as (10)


Tags: template tags listing display
Related Articles:

Add a new comment

Send Comment

 
 
Customer Log-in | Support Forums | User Guide | Free Form Builder | Contact Memberkit Team