Show last authors
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)
2
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.
4
5 == Use case example ==
6 {{id name="fig_plugin_offline_counter_up"/}}
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}}
8
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.
10
11 == Pluginparameter ==
12 {{id name="fig_plugin_offline_counter_down"/}}
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}}
14
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:
16
17 ; COUNT_DIRECTION
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.
19 ; COUNT_SET_OFFLINE
20 : This parameter takes a whole number value that determines at what counter value the form should be turned //offline//.
21 ; COUNT_SET_ONLINE
22 : This parameter takes a whole number value that determines at what counter value the form should be turned //online//.
Copyright 2000-2024