Forms Plugins/Hooks
Plugins
BPC Forms Plugin
This plugin can be used to create a BPC Forms within a Hook
The form to be displayed can either reference an existing BPC Forms component (moduleId), a form from the repository (formId) or an external Form configuration (formUrl).
It is also possible to store a valid Form configuration (formConfig) directly in the plugin.
The following settings can be made via the Plugin configuration
- moduleId
-
References an existing BPC Forms component via its ID.
Cannot be combined withformUrl,formConfigorformId. - formUrl
-
References an external source for a Form configuration. The URL must be accessible for the end user. Please note any requirements regarding CORS.
Cannot be combined withmoduleId,formConfigorformId. - formConfig
-
A valid Form configuration can be stored directly here in JSON format.
Cannot be combined withmoduleId,formUrlorformId. - formId
-
References a form that is stored in the internal forms repository via its repository ID. In addition, a dedicated version can be referenced via
formVersion. IfformVersionis not given, the latest version is always used.
Cannot be combined withmoduleId,formUrlorformConfig. - formVersion
-
Used to reference a dedicated version of a form in the forms repository. Can only be used in conjunction with
formId. - debug
-
If this parameter is set to
true, the debug view of Renderer is activated. - initialData
-
Form data can be defined at this point. The data is used to define the data area of the form Data area of the form initialized.
{
"moduleId": null,
"formUrl" : null,
"formConfig" : null,
"formId" : null,
"formVersion" : null,
"debug" : false,
"initialData" : null
}
Hooks
This module does not offer any hooks Hooks