Skip to content

Commit

Permalink
Forgot to add the example form sample
Browse files Browse the repository at this point in the history
  • Loading branch information
LuomaJuha committed Oct 9, 2024
1 parent ff1c365 commit 2806d1f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions local/config/finna/FeedbackForms.yaml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 2806d1f

Please sign in to comment.