webform.webform.template_job_application.yml 5.53 KB
Newer Older
1
langcode: en
2
status: closed
3
4
5
6
dependencies:
  enforced:
    module:
      - webform_templates
7
8
open: null
close: null
9
10
11
12
13
uid: null
template: true
id: template_job_application
title: 'Job Application'
description: 'A job application webform template.'
14
category: ''
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
elements: |
  information:
    '#title': 'Your Information'
    '#type': fieldset
    first_name:
      '#title': 'First Name'
      '#type': textfield
      '#required': true
    last_name:
      '#title': 'Last Name'
      '#type': textfield
      '#required': true
    gender:
      '#type': radios
      '#title': Gender
      '#options': gender
      '#required': true
  contact_information:
    '#title': 'Contact Information'
    '#type': fieldset
    contact:
36
      '#type': webform_contact
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
      '#title': Contact
      '#title_display': invisible
      '#name__access': false
      '#company__access': false
  resume:
    '#title': 'Your Resume'
    '#type': fieldset
    resume_method:
      '#type': radios
      '#options':
        attach: 'Attach resume file'
        paste: 'Paste your resume'
      '#prefix': '<div class="container-inline">'
      '#suffix': '</div>'
      '#default_value': attach
52
    resume_file:
53
      '#type': managed_file
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
      '#title': Resume
      '#title_display': invisible
      '#states':
        visible:
          ':input[name="resume_method"]':
            value: attach
        required:
          ':input[name="resume_method"]':
            value: attach
        enabled:
          ':input[name="resume_method"]':
            value: attach
    resume_text:
      '#type': textarea
      '#title': Resume
      '#title_display': invisible
      '#states':
        visible:
          ':input[name="resume_method"]':
            value: paste
        required:
          ':input[name="resume_method"]':
            value: paste
        enabled:
          ':input[name="resume_method"]':
            value: paste
80
81
82
83
  actions:
    '#type': webform_actions
    '#title': 'Submit button(s)'
    '#submit__label': Apply
84
85
86
css: ''
javascript: ''
settings:
87
  ajax: false
88
  ajax_scroll_top: form
89
90
91
  page: true
  page_submit_path: ''
  page_confirm_path: ''
92
  form_submit_once: false
93
  form_exception_message: ''
94
95
  form_open_message: ''
  form_close_message: ''
96
  form_previous_submissions: true
97
98
  form_confidential: false
  form_confidential_message: ''
99
  form_convert_anonymous: false
100
101
  form_prepopulate: false
  form_prepopulate_source_entity: false
102
103
  form_prepopulate_source_entity_required: false
  form_prepopulate_source_entity_type: ''
104
  form_reset: false
105
  form_disable_autocomplete: false
106
  form_novalidate: false
107
  form_required: false
108
109
  form_unsaved: false
  form_disable_back: false
110
  form_submit_back: false
111
112
  form_autofocus: false
  form_details_toggle: false
113
114
  form_login: false
  form_login_message: ''
115
  submission_label: ''
116
  submission_log: false
117
  submission_user_columns: {  }
118
119
  submission_login: false
  submission_login_message: ''
120
  submission_exception_message: ''
121
  submission_locked_message: ''
122
123
124
  autofill: false
  autofill_message: ''
  autofill_excluded_elements: {  }
125
126
127
128
  wizard_progress_bar: true
  wizard_progress_pages: false
  wizard_progress_percentage: false
  wizard_start_label: ''
129
130
  wizard_confirmation: true
  wizard_confirmation_label: ''
131
  wizard_track: ''
132
  preview: 0
133
134
  preview_label: ''
  preview_title: ''
135
  preview_message: ''
136
  preview_attributes: {  }
137
  preview_excluded_elements: {  }
138
  preview_exclude_empty: true
139
  draft: none
140
  draft_multiple: false
141
142
143
144
  draft_auto_save: false
  draft_saved_message: ''
  draft_loaded_message: ''
  confirmation_type: page
145
  confirmation_title: ''
146
147
  confirmation_message: 'Thank you for applying.'
  confirmation_url: ''
148
149
150
151
  confirmation_attributes: {  }
  confirmation_back: true
  confirmation_back_label: ''
  confirmation_back_attributes: {  }
152
  limit_total: null
153
  limit_total_interval: null
154
155
  limit_total_message: ''
  limit_user: null
156
  limit_user_interval: null
157
158
  limit_user_message: ''
  entity_limit_total: null
159
  entity_limit_total_interval: null
160
  entity_limit_user: null
161
162
163
  entity_limit_user_interval: null
  purge: none
  purge_days: null
164
165
166
167
168
169
170
171
172
  results_disabled: false
  results_disabled_ignore: false
  token_update: false
access:
  create:
    roles:
      - anonymous
      - authenticated
    users: {  }
173
    permissions: {  }
174
175
176
  view_any:
    roles: {  }
    users: {  }
177
    permissions: {  }
178
179
180
  update_any:
    roles: {  }
    users: {  }
181
    permissions: {  }
182
183
184
  delete_any:
    roles: {  }
    users: {  }
185
    permissions: {  }
186
187
188
  purge_any:
    roles: {  }
    users: {  }
189
    permissions: {  }
190
191
192
  view_own:
    roles: {  }
    users: {  }
193
    permissions: {  }
194
195
196
  update_own:
    roles: {  }
    users: {  }
197
    permissions: {  }
198
199
200
  delete_own:
    roles: {  }
    users: {  }
201
    permissions: {  }
202
203
204
205
  administer:
    roles: {  }
    users: {  }
    permissions: {  }
206
207
208
209
210
211
handlers:
  email_notification:
    id: email
    label: 'Email Notification'
    handler_id: email_notification
    status: true
212
    conditions: {  }
213
214
    weight: 1
    settings:
215
216
      states:
        - completed
217
      to_mail: default
218
      to_options: {  }
219
      cc_mail: ''
220
      cc_options: {  }
221
      bcc_mail: ''
222
      bcc_options: {  }
223
      from_mail: '[webform_submission:values:email:raw]'
224
      from_options: {  }
225
      from_name: '[webform_submission:values:first_name] [webform_submission:values:last_name]'
226
227
228
      subject: default
      body: default
      excluded_elements: {  }
229
      ignore_access: false
230
      exclude_empty: true
231
232
      html: true
      attachments: false
233
      twig: false
234
      debug: false
235
236
      reply_to: ''
      return_path: ''
237
238
      sender_mail: ''
      sender_name: ''