Skip to content
Snippets Groups Projects
contactForm.yaml 1.81 KiB
Newer Older
  submitButtonLabel: element.Form.renderingOptions.submitButtonLabel
type: Form
identifier: contactForm
label: 'Contact Form'
prototypeName: standard
finishers:
  -
    options:
      format: html
      template: template1
      mailTo: '{text-2}'
      userName: '{text-1}'
      replyTo: ''
      cc: ''
      bcc: ''
    identifier: MailToSenderFinisher
  -
    options:
      template: template2
      mailTo: admin@sgalinski.de
      mailFrom: info@sgalinski.de
      subject: 'Eine neue Kontaktanfrage'
      userName: ''
      replyTo: ''
      cc: ''
      bcc: ''
    identifier: MailToReceiverFinisher
renderables:
  -
    renderingOptions:
      previousButtonLabel: 'Previous step'
      nextButtonLabel: 'Next step'
    type: Page
    identifier: page-1
    renderables:
      -
        defaultValue: ''
        type: Text
        identifier: text-1
        properties:
          fluidAdditionalAttributes:
            required: required
          elementDescription: ''
        validators:
          -
            identifier: NotEmpty
      -
        defaultValue: ''
        type: Text
        identifier: text-2
        label: 'Ihre E-Mail-Adresse'
        properties:
          fluidAdditionalAttributes:
            placeholder: 'Ihre E-Mail-Adresse'
            required: required
        validators:
          -
            identifier: NotEmpty
          -
            identifier: EmailAddress
      -
        defaultValue: ''
        type: Textarea
        identifier: textarea-1
        label: Nachricht
        properties:
          fluidAdditionalAttributes:
            placeholder: Nachricht
            required: required
        validators:
          -
            identifier: NotEmpty