Hide last authors
gru 12.5 1 [[**Plugin download**>>url:https://customer.formcycle.eu/index.php/apps/files/?dir=/FORMCYCLE%20-%20Plugins%20Customer/fc-plugin-bundle-offline-counter&fileid=6487||target="_blank"]] (requires login)
awa 12.4 2
gru 12.5 3 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->>doc:Formcycle.UserInterface.Client.Plugins.WebHome]] oder [[system plugin>>doc:Formcycle.SystemSettings.UserInterface.SystemPlugins.WebHome]]. This plugin is subject to additional charge.
nlo 3.1 4
gru 12.5 5 == Use case example ==
nlo 9.1 6 {{id name="fig_plugin_offline_counter_up"/}}
gru 12.5 7 {{figure image="plugin_offline_counter_up_en.png"}}Use of the submit count plugin to limit the number of regstrations via a form. With each submitted form record the counter is incremented by one. If 20 form records have been submitted than the form will be set //offline//.{{/figure}}
nlo 3.1 8
gru 12.5 9 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.
nlo 3.1 10
11 == Pluginparameter ==
nlo 9.1 12 {{id name="fig_plugin_offline_counter_down"/}}
gru 12.5 13 {{figure image="plugin_offline_counter_down_en.png"}}Use of the submit count plugin to set the form //online// again if users cancel their registration. With each cancelation the counter value is reduced by one. If the counter reaches a value of 19 the form will best //online// again.{{/figure}}
nlo 3.1 14
gru 12.5 15 To use the plugin a new [[workflow>>doc:Formcycle.UserInterface.MyForms.WorkflowProcessing.WebHome]] action of type **Submit-Count-Plugin** needs to created. This action has three parameters:
nlo 3.1 16
awa 12.2 17 ; COUNT_DIRECTION
gru 12.5 18 : This parameter can take the values {{code language="none"}}UP{{/code}} or {{code language="none"}}DOWN{{/code}}. These values determine whether the counter should be incremented or reduced by one.
awa 12.2 19 ; COUNT_SET_OFFLINE
gru 12.5 20 : This parameter takes a whole number value that determines at what counter value the form should be turned //offline//.
awa 12.2 21 ; COUNT_SET_ONLINE
gru 12.5 22 : This parameter takes a whole number value that determines at what counter value the form should be turned //online//.
Copyright 2000-2025