
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
    size:
      identifier: size
      label: Stand size
      type: SingleSelect
      renderingOptions:
        deleted: 0
    textarea:
      identifier: textarea
      label: 'Concept'
      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
type: Form
identifier: vermietungEN
label: vermietungEN
prototypeName: standard
finishers:
  -
    options:
      renderInstagramFeed: true
      templateName: ClientEmailVermietung
      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: AdminEmailVermietung
      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'
    type: Page
    identifier: page-1
    label: 'Enquiry form: Letting'
    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:
              mainContainerClass: grid-column grid-column--lg-6
              elementClassAttribute: form-control__field
              fluidAdditionalAttributes:
                x-validation:field: ''
                data-root-error-class: "form-control--has-error"
                placeholder: 'Telephone number*'
                required: required
            validators:
              - identifier: NotEmpty
          -
            properties:
              mainContainerClass: grid-column grid-column--lg-6
              fluidAdditionalAttributes:
                x-validation:field: ''
                data-root-error-class: "form-control--has-error"
                placeholder: 'Stand size*'
                required: required
              elementClassAttribute: form-control__field
              options:
                '': 'Stand size*'
                1-5m2: 1-5m2
                5-20m2: 5-20m2
                'mehr als 20m2': 'more than 20m2'
            type: Text
            identifier: size
            label: Stand size
            validators:
              - identifier: NotEmpty
          -
            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 have read the <a href="t3://page?uid=54" target="_blank">privacy policy</a> and agree to it.'
            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
          -
            type: Hidden
            identifier: jsonResponse
            properties:
              fluidAdditionalAttributes:
                value: true
