This Plugin / Repo is being maintained by a community of developers. There is no warranty given or bug fixing guarantee; especially not by Programmfabrik GmbH. Feel free to directly contact the committing developers.
This is a plugin for fylr. Add a mask splitter and write custom javascript to make the splitter do whatever you need it to do.
The latest version of this plugin can be found here.
The ZIP can be downloaded and installed using the plugin manager, or used directly (recommended).
Github has an overview page to get a list of all release.
The base-config has a repeatable block of 4 fields and the mask splitter created by this plugin has 1 field to configure which javascript to use.
- Name: The name that will be used to identify the javascript
- Javascript-Function: The function that will be executed by the mask splitter. The function will get the same parameters as the renderField-function in the mask splitter. You only need to write the content of the function, not the definition. The function must return an instance of CUI.Element
function (opts) {
// only write what is between the function parenthesis
}
- Show in editor: Flag you can use in your function to control visibility of the splitter when in editor view
- Show in detail view: Flag you can use in your function to control visibility of the splitter when in detail view
- Javascript Name: Name used to identify which of the base config scripts should be used
The source code of this plugin is managed in a git repository at https://github.com/programmfabrik/fylr-plugin-mask-splitter-custom-javascript.