Hello Kirby support team,
Show or Hide text fields based on a toggle type field within a blueprint.
block_information:
label: Activate text block
type: toggle
text:
- "false"
- "true"
For example:
If the user chooses the YES option, display the following text fields that are within the same blueprint.
date:
label: Date
type: text
icon: calendar
width: 1/2
client:
label: Client
type: text
icon: user
width: 1/2
location:
label: Location
type: text
icon: map
width: 1/2
colaboration:
label: Colaboration
type: text
icon: users
width: 1/2
I found the following plugin that performs my client’s request, but it is for Kirby version 2. Therefore, it is not useful to me because I am using Kirby version 3.
GitHub - medienbaecker/kirby-fieldtoggle
I await your answer and help.
Thank you!