I would like to use the content of text field as a label for another field. I use a fieldset and I would like that the title of the field is set by the content of a subfield (the page will have six different field set and I want to allow the user to name it so it will give a better overview). Here’s my code with an idea of what I’m looking for
form:
fields:
tabs:
fields:
content:
fields:
header.fieldset:
type: fieldset
title: page.header.titlepart1 //get the content of header.titlepart1 here
info: part1
collapsed: true
collapsible: true
fields:
header.titlepart1:
type: text
label: Part 1 title
header.content1:
name:
type: list
style: vertical
label: Part 1 content
fields:
.date:
type: text
label: Date
.text:
type: markdown
label: Texte
Thank you !