https://github.com/programmfabrik/fylr-plugin-editor-field-visibility
Custom Mask Splitter to show and/or hide fields in Editor, depending on other fields values. Only for fylr!
https://github.com/programmfabrik/fylr-plugin-editor-field-visibility
controller editor fylr visibility
Last synced: 4 months ago
JSON representation
Custom Mask Splitter to show and/or hide fields in Editor, depending on other fields values. Only for fylr!
- Host: GitHub
- URL: https://github.com/programmfabrik/fylr-plugin-editor-field-visibility
- Owner: programmfabrik
- License: mit
- Created: 2023-03-16T09:35:27.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-06-27T08:09:56.000Z (8 months ago)
- Last Synced: 2025-09-20T13:07:42.446Z (5 months ago)
- Topics: controller, editor, fylr, visibility
- Language: CoffeeScript
- Homepage:
- Size: 830 KB
- Stars: 0
- Watchers: 4
- 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. Please use the github issue tracking to report bugs
and self organize bug fixing. Feel free to directly contact the committing
developers.
# fylr-editor-field-visibility
Custom Mask Splitter to hide fields in Editor, depending on another fields value. Right now, the triggerfield must be a custom-data-type-dante or a boolean-field
This is a plugin for [fylr](https://documentation.fylr.cloud/docs) with MaskSplitter `EditorVisibilityController`.
For easydb5-instances use [easydb-editor-field-visibility](https://github.com/programmfabrik/easydb-editor-field-visibility-plugin).

## installation
The latest version of this plugin can be found [here](https://github.com/programmfabrik/fylr-editor-field-visibility/releases/latest/download/EditorFieldVisibility.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-editor-field-visibility/releases/).
## configuration
This masksplitter can be configured:
### Mask options
* Name of the observed field, which triggers the visibility of fields
* JSON-Map about the fields to hide. See example below
* JSON-Path with which the JSON-Map starts
##### Example JSON-Config
~~~~
{
"capture_journey": {
"value": "http://uri.gbv.de/terminology/prizepapers_journey_type/f005efa8-7340-4b45-bb52-77ce42a42e25",
"fields": ["journey.journey__mehrfach.field1", "journey.journey__mehrfach.journey__mehrfach__mehrfach2.bool"]
},
"forced_journey": {
"value": "http://uri.gbv.de/terminology/prizepapers_journey_type/db0ecf20-96ca-45bf-b0c2-eb2097adf1f0",
"fields": ["journey.place_end_intended", "journey.capture", "journey.journey__mehrfach.journey__mehrfach__mehrfach2"]
},
"journey": {
"value": "http://uri.gbv.de/terminology/prizepapers_journey_type/94b943b7-ee9f-4818-8b8e-d7d4beef58fb",
"fields": ["journey.place_end_intended", "journey.capture", "journey.journey__mehrfach.journey__mehrfach__mehrfach2.bool", "journey.journey__mehrfach.journey__mehrfach__mehrfach2.sex"]
}
}
~~~~
## sources
The source code of this plugin is managed in a git repository at . Please use [the issue tracker](https://github.com/programmfabrik/easydb-editor-field-visibility/issues) for bug reports and feature requests!