Submit count plugin
The submit count plugin is a workflow plugin that allows to set a form online or offline depending on a form specific counter. The plugin can be installed as a client- oder system plugin.
Use case example
The plugin is typically used to count the number of form records and to set the form offline if that counter reaches a certain number. This is usually needed for registration forms for events that hava a limited number of participants. If users cancel their event registration the plugin can also be used to set the form online again.
Pluginparameter
To use the plugin a new workflow action of type Submit-Count-Plugin needs to created. This action has three parameters:
- COUNT_DIRECTION
- This parameter can take the values UP or DOWN. These values determine whether the counter should be incremented or reduced by one.
- COUNT_SET_OFFLINE
- This parameter takes a whole number value that determines at what counter value the form should be turned offline.
- COUNT_SET_ONLINE
- This parameter takes a whole number value that determines at what counter value the form should be turned online.