You are here

yamlform.yamlform.template_job_application.yml in YAML Form 8

modules/yamlform_templates/config/install/yamlform.yamlform.template_job_application.yml

File

modules/yamlform_templates/config/install/yamlform.yamlform.template_job_application.yml
View source
  1. langcode: en
  2. status: false
  3. dependencies:
  4. enforced:
  5. module:
  6. - yamlform_templates
  7. uid: null
  8. template: true
  9. id: template_job_application
  10. title: 'Job Application'
  11. description: 'A job application form template.'
  12. elements: |
  13. information:
  14. '#title': 'Your Information'
  15. '#type': fieldset
  16. first_name:
  17. '#title': 'First Name'
  18. '#type': textfield
  19. '#required': true
  20. last_name:
  21. '#title': 'Last Name'
  22. '#type': textfield
  23. '#required': true
  24. gender:
  25. '#type': radios
  26. '#title': Gender
  27. '#options': gender
  28. '#required': true
  29. contact_information:
  30. '#title': 'Contact Information'
  31. '#type': fieldset
  32. contact:
  33. '#type': contact
  34. '#title': Contact
  35. '#title_display': invisible
  36. '#name__access': false
  37. '#company__access': false
  38. resume:
  39. '#title': 'Your Resume'
  40. '#type': fieldset
  41. resume_method:
  42. '#type': radios
  43. '#options':
  44. attach: 'Attach resume file'
  45. paste: 'Paste your resume'
  46. '#prefix': '<div class="container-inline">'
  47. '#suffix': '</div>'
  48. '#default_value': attach
  49. resume_file_container:
  50. '#type': container
  51. '#title': Resume
  52. '#title_display': invisible
  53. '#states':
  54. visible:
  55. ':input[name="resume_method"]':
  56. value: attach
  57. required:
  58. ':input[name="resume_method"]':
  59. value: attach
  60. enabled:
  61. ':input[name="resume_method"]':
  62. value: attach
  63. resume_file:
  64. '#type': managed_file
  65. resume_text:
  66. '#type': textarea
  67. '#title': Resume
  68. '#title_display': invisible
  69. '#states':
  70. visible:
  71. ':input[name="resume_method"]':
  72. value: paste
  73. required:
  74. ':input[name="resume_method"]':
  75. value: paste
  76. enabled:
  77. ':input[name="resume_method"]':
  78. value: paste
  79. css: ''
  80. javascript: ''
  81. settings:
  82. page: true
  83. page_submit_path: ''
  84. page_confirm_path: ''
  85. form_submit_label: Apply
  86. form_submit_attributes: { }
  87. form_exception_message: ''
  88. form_closed_message: ''
  89. form_confidential: false
  90. form_confidential_message: ''
  91. form_prepopulate: false
  92. form_prepopulate_source_entity: false
  93. form_novalidate: false
  94. form_unsaved: false
  95. form_disable_back: false
  96. form_autofocus: false
  97. form_details_toggle: false
  98. wizard_progress_bar: true
  99. wizard_progress_pages: false
  100. wizard_progress_percentage: false
  101. wizard_next_button_label: ''
  102. wizard_next_button_attributes: { }
  103. wizard_prev_button_label: ''
  104. wizard_prev_button_attributes: { }
  105. wizard_start_label: ''
  106. wizard_complete: true
  107. wizard_complete_label: ''
  108. preview: 0
  109. preview_next_button_label: ''
  110. preview_next_button_attributes: { }
  111. preview_prev_button_label: ''
  112. preview_prev_button_attributes: { }
  113. preview_message: ''
  114. draft: false
  115. draft_auto_save: false
  116. draft_button_label: ''
  117. draft_button_attributes: { }
  118. draft_saved_message: ''
  119. draft_loaded_message: ''
  120. confirmation_type: page
  121. confirmation_message: 'Thank you for applying.'
  122. confirmation_url: ''
  123. confirmation_attributes: { }
  124. confirmation_back: true
  125. confirmation_back_label: ''
  126. confirmation_back_attributes: { }
  127. limit_total: null
  128. limit_total_message: ''
  129. limit_user: null
  130. limit_user_message: ''
  131. entity_limit_total: null
  132. entity_limit_user: null
  133. results_disabled: false
  134. results_disabled_ignore: false
  135. token_update: false
  136. access:
  137. create:
  138. roles:
  139. - anonymous
  140. - authenticated
  141. users: { }
  142. view_any:
  143. roles: { }
  144. users: { }
  145. update_any:
  146. roles: { }
  147. users: { }
  148. delete_any:
  149. roles: { }
  150. users: { }
  151. purge_any:
  152. roles: { }
  153. users: { }
  154. view_own:
  155. roles: { }
  156. users: { }
  157. update_own:
  158. roles: { }
  159. users: { }
  160. delete_own:
  161. roles: { }
  162. users: { }
  163. handlers:
  164. email_notification:
  165. id: email
  166. label: 'Email Notification'
  167. handler_id: email_notification
  168. status: true
  169. weight: 1
  170. settings:
  171. to_mail: default
  172. cc_mail: ''
  173. bcc_mail: ''
  174. from_mail: '[yamlform_submission:values:email:raw]'
  175. from_name: '[yamlform_submission:values:first_name] [yamlform_submission:values:last_name]'
  176. subject: default
  177. body: default
  178. excluded_elements: { }
  179. html: true
  180. attachments: false
  181. debug: false