Documentation:UBC Content Management System/Shortcodes/gravityforms-remaining-entries-shortcode

From UBC Wiki
UBC CMS
Codex
Welcome to the support documentation for the
UBC CMS Service.
Contents

UBC Content Management System

UBC Collab Theme

UBC Collab Theme Overview
Theme Options Index
CLF Options
Layout Options
Frontpage
Navigation
Display Options
SEO
Export
Import
Global Theme Options

Dashboard Overview
Pages and Posts
Adding Users

Menus
Widgets
Plugins
Forms
Shortcodes
RSS Feeds
Going Live

Complete Topic Index
PDF Wiki Book Version


gravityforms-remaining-entries-shortcode allows you to create shortcodes that add remaining entries count from a gravity form.


NOTE: Currently the plugin only works for cases where entries are limited by total entries.


Activation

To active gravityforms-remaining-entries-shortcode in your CMS site:

  1. Navigate to Dashbord > Plugins.
  2. Find gravityforms-remaining-entries-shortcode.
  3. Select the "Activate" option.

The plugin will now be ready to use.

Use

[gravityforms action="entries_left" format="decimal" id="your_form_id"]

  • action = (required) exactly as above so that gravity forms knows which shortcode to call
  • format = (optional) either leave out for no separators, "decimal", "comma" eg. 4987 vs 4.987 vs 4,987
  • id = (required) id of your form