https://github.com/programmfabrik/fylr-plugin-mask-splitter-custom-javascript
Provides a masksplitter, which can be filled with any custom JavaScript
https://github.com/programmfabrik/fylr-plugin-mask-splitter-custom-javascript
Last synced: 2 months ago
JSON representation
Provides a masksplitter, which can be filled with any custom JavaScript
- Host: GitHub
- URL: https://github.com/programmfabrik/fylr-plugin-mask-splitter-custom-javascript
- Owner: programmfabrik
- License: unlicense
- Created: 2026-02-19T12:17:29.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-04-16T08:26:11.000Z (2 months ago)
- Last Synced: 2026-04-16T10:02:54.752Z (2 months ago)
- Language: CoffeeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> 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.
# fylr-plugin-mask-splitter-custom-javascript
This is a plugin for [fylr](https://documentation.fylr.cloud/docs). Add a mask splitter and write custom javascript to make the splitter do whatever you need it to do.
## installation
The latest version of this plugin can be found [here](https://github.com/programmfabrik/fylr-plugin-mask-splitter-custom-javascript/releases/latest/download/MaskSplitterCustomJavascript.zip).
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](https://github.com/programmfabrik/fylr-plugin-mask-splitter-custom-javascript/releases/).
## usage
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.
#### base-config
- __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 is asynchronous and 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 Element, a string or null.
```
async function (opts) {
// only write what is between the function parenthesis
}
```
- __Show in editor__: Flag to control if the splitter should be shown in editor view
- __Show in detail view__: Flag to control if the splitter should be shown in detail view
#### mask splitter config
- __Javascript Name__: Name used to identify which of the base config scripts should be used
## sources
The source code of this plugin is managed in a git repository at .