form.title
フィールドを非表示にし、form.title
フィールドの値をform.oro_eventname
に設定します。
ユーザーにはform.oro_eventname
しか表示されませんが、form.oro_eventname
の値はform.title
にコピーされます。フィールド値を別のフィールドにコピー
どのようにすればいいのですか?
{% set dataBlocks = [{
'title': 'General Information'|trans,
'class': 'active',
'subblocks': [
{
'title': '',
'data': [
form_row(form.title),
form_row(form.oro_eventname),
form_row(form.description),
form_row(form.backgroundColor),
form.calendarUid is defined ? form_row(form.calendarUid) : null,
form_row(form.attendees),
entity.recurrence is null ? form_row(form.reminders) : null,
form_row(form.notifyAttendees),
invitations.notify_attendees_component()
]
},
{
'title': '',
'data': [
'<div ' ~ UI.renderPageComponentAttributes(calendarEventDateRange) ~ '>' ~
form_row(form.start) ~
form_row(form.end) ~
form_row(form.allDay) ~
'</div>',
form.recurrence is defined ? form_row(form.recurrence) : null
]
}
]
}] %}
質問から、あなたがしたいことは本当に明確ではありません。より多くの詳細や、必要なものの写真を提供できますか? –