
renderingOptions:
  fluidAdditionalAttributes:
    'x-validation:form': '{}'
    x-data: AsyncForm()
  submitButtonLabel: Send
  fieldState:
    name:
      identifier: name
      label: name
      type: Text
      renderingOptions:
        deleted: 0
    email:
      identifier: email
      label: E-mail
      type: Email
      renderingOptions:
        deleted: 0
    telephone:
      identifier: telephone
      label: Telephone number
      type: Telephone
      renderingOptions:
        deleted: 0
    participants:
      identifier: participants
      label: 'Number of participants'
      type: SingleSelect
      renderingOptions:
        deleted: 0
    rooms:
      identifier: rooms
      label: 'Number of hotel rooms'
      type: SingleSelect
      renderingOptions:
        deleted: 0
    textarea:
      identifier: textarea
      label: 'Briefly present your stand concept (600 words)'
      type: Textarea
      renderingOptions:
        deleted: 0
    checkbox:
      identifier: checkbox
      label: 'I hereby agree that Marheineke Halle may use my personal data for the purpose of filling the vacancy. The data will be deleted after the application process.'
      type: Checkbox
      renderingOptions:
        deleted: 0
    jsonResponse:
      identifier: jsonResponse
      label: ''
      type: Hidden
      renderingOptions:
        deleted: 0
type: Form
identifier: eventFormEN
label: eventFormEN
prototypeName: standard
finishers:
  -
    options:
      renderInstagramFeed: true
      templateName: ClientEmailEvent
      subject: '{textarea}'
      recipients:
        '{email}': '{name}'
      senderAddress: meine-markthalle@berliner-grossmarkt.de
      senderName: meine-markthalle@berliner-grossmarkt.de
      addHtmlPart: true
      attachUploads: true
      translation:
        language: Default
      title: ''
    identifier: EmailToReceiver
  -
    options:
      templateName: AdminEmailEvent
      subject: '{textarea}'
      recipients:
        meine-markthalle@berliner-grossmarkt.de: meine-markthalle@berliner-grossmarkt.de
      senderAddress: meine-markthalle@berliner-grossmarkt.de
      senderName: meine-markthalle@berliner-grossmarkt.de
      addHtmlPart: true
      attachUploads: true
      title: ''
    identifier: EmailToSender
  -
    identifier: FormToDatabase
  -
    identifier: SuccessFinisher
renderables:
  -
    renderingOptions:
      previousButtonLabel: 'Previous step'
      nextButtonLabel: 'Next step'
      teaser: 'Please fill in all fields and then click on <span class="text-secondary text-weight-700">send.</span>'
    type: Page
    identifier: page-1
    label: 'Enquiry form: Guided tour'
    renderables:
      -
        type: Fieldset
        identifier: fieldset-1
        label: Fieldset
        renderables:
          -
            defaultValue: ''
            type: Text
            identifier: name
            label: name
            properties:
              mainContainerClass: grid-column grid-column--lg-6
              elementClassAttribute: form-control__field
              fluidAdditionalAttributes:
                'x-validation:field': ''
                data-root-error-class: form-control--has-error
                placeholder: 'Name*'
                required: required
            validators:
              -
                identifier: NotEmpty
          -
            defaultValue: ''
            type: Email
            identifier: email
            label: E-mail
            properties:
              mainContainerClass: grid-column grid-column--lg-6
              elementClassAttribute: form-control__field
              fluidAdditionalAttributes:
                'x-validation:field': ''
                data-root-error-class: form-control--has-error
                placeholder: 'E-mail*'
                required: required
            validators:
              -
                identifier: EmailAddress
              -
                identifier: NotEmpty
          -
            defaultValue: ''
            type: Telephone
            identifier: telephone
            label: Telephone number
            properties:
              elementClassAttribute: form-control__field
              fluidAdditionalAttributes:
                'x-validation:field': ''
                data-root-error-class: form-control--has-error
                placeholder: 'Telephone number*'
                required: required
              mainContainerClass: grid-column grid-column--lg-4
            validators:
              -
                identifier: NotEmpty
          -
            properties:
              fluidAdditionalAttributes:
                'x-validation:field': ''
                data-root-error-class: form-control--has-error
                placeholder: 'Number of participants*'
                required: required
              elementClassAttribute: form-control__field
              mainContainerClass: grid-column grid-column--lg-4
              options:
                '': 'Number of participants*'
                5: '5'
                6: '6'
                7: '7'
                8: '8'
                9: '9'
                10: '10'
                11: '11'
                12: '12'
                13: '13'
                14: '14'
                15: '15'
                16: '16'
                17: '17'
                18: '18'
                19: '19'
                20: '20'
                'mehr als 20': 'mehr als 20'
            type: SingleSelect
            identifier: participants
            label: 'Number of participants'
            validators:
              -
                identifier: NotEmpty
          -
            properties:
              fluidAdditionalAttributes:
                'x-validation:field': ''
                data-root-error-class: form-control--has-error
                placeholder: 'Number of hotel rooms*'
                required: required
              elementClassAttribute: form-control__field
              mainContainerClass: grid-column grid-column--lg-4
              options:
                '': 'Number of hotel rooms*'
                2: '2'
                3: '3'
                4: '4'
                5: '5'
                6: '6'
                7: '7'
                8: '8'
                9: '9'
                10: '10'
                'mehr als 10': 'mehr als 10'
            type: SingleSelect
            identifier: rooms
            label: 'Number of hotel rooms'
          -
            defaultValue: ''
            type: Textarea
            identifier: textarea
            label: 'Briefly present your stand concept (600 words)'
            properties:
              rows: 5
              mainContainerClass: grid-column grid-column--lg-12
              elementClassAttribute: form-control__field
              fluidAdditionalAttributes:
                'x-validation:field': ''
                data-root-error-class: form-control--has-error
                placeholder: 'Briefly present your stand concept (600 words)*'
                required: required
            validators:
              -
                identifier: NotEmpty
          -
            type: Checkbox
            identifier: checkbox
            label: 'I hereby agree that Marheineke Halle may use my personal data for the purpose of filling the vacancy. The data will be deleted after the application process.'
            properties:
              mainContainerClass: grid-column grid-column--lg-12
              elementClassAttribute: form-checkbox__control
              fluidAdditionalAttributes:
                'x-validation:field': ''
                data-root-error-class: form-control--has-error
                required: required
            validators:
              -
                identifier: NotEmpty
          -
            defaultValue: ''
            type: Hidden
            identifier: jsonResponse
            properties:
              fluidAdditionalAttributes:
                value: true
