From 2806d1f11d8e3756bf31a007956703758d1bbc79 Mon Sep 17 00:00:00 2001 From: Juha Luoma <33253757+LuomaJuha@users.noreply.github.com> Date: Wed, 9 Oct 2024 13:33:59 +0300 Subject: [PATCH] Forgot to add the example form sample --- local/config/finna/FeedbackForms.yaml.sample | 44 ++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/local/config/finna/FeedbackForms.yaml.sample b/local/config/finna/FeedbackForms.yaml.sample index e07f6fd7f9a..43d6715fa3d 100644 --- a/local/config/finna/FeedbackForms.yaml.sample +++ b/local/config/finna/FeedbackForms.yaml.sample @@ -341,3 +341,47 @@ forms: label: feedback_message settings: - [rows, 3] + ReservationListRequest: + allowLocalOverride: true + title: ReservationList::form_title + enabled: true + sendMethod: "email" + onlyForLoggedUsers: true + emailSubject: ReservationList::form_email_subject + response: ReservationList::form_response + hideSenderInfo: true + hideRecipientInfo: true + primaryHandler: email + senderNameRequired: true + includePatronId: true + help: + pre: ReservationList::request_pre_info_html + post: ReservationList::request_post_info_html + + fields: + - name: record_ids + type: textarea + label: ReservationList::Reservation Resources + settings: + - [rows, 3] + - [readonly, true] + - name: name + type: text + label: feedback_name + - name: email + type: email + label: Email + - name: phone + type: text + label: Phone + - name: pickup_date + type: date + label: ReservationList::Delivery Time Request + minValue: now + 2 days + maxValue: now + 1 year + required: true + - name: message + type: textarea + label: ReservationList::Message + settings: + - [rows, 3]