You are here

yamlform.yamlform.template_donation.yml in YAML Form 8

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

File

modules/yamlform_templates/config/install/yamlform.yamlform.template_donation.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_donation
  10. title: Donation
  11. description: 'A donation form template.'
  12. elements: |
  13. donation:
  14. '#title': 'Donation Information'
  15. '#type': fieldset
  16. amount:
  17. '#type': buttons_other
  18. '#title': Amount
  19. '#title_display': invisible
  20. '#required': true
  21. '#options':
  22. 25: $25
  23. 50: $50
  24. 100: $100
  25. 250: $250
  26. 500: $500
  27. '#other__option_label': Other
  28. '#other__title': 'Please Enter Your Donation'
  29. '#other__type': number
  30. '#other__min': 1
  31. '#other__placeholder': ''
  32. '#other__field_prefix': $
  33. '#other__field_suffix': '.00'
  34. billing:
  35. '#title': 'Billing Information'
  36. '#type': fieldset
  37. name:
  38. '#type': name
  39. '#title': Name
  40. '#title_display': invisible
  41. '#required': true
  42. '#first__required': true
  43. '#last__required': true
  44. '#suffix__access': false
  45. '#degree__access': false
  46. '#flexbox': '1'
  47. address:
  48. '#type': address
  49. '#title': Address
  50. '#title_display': invisible
  51. '#required': true
  52. '#address__required': true
  53. '#city__required': true
  54. '#state_province__required': true
  55. '#postal_code__required': true
  56. '#country__required': true
  57. '#flexbox': '1'
  58. email:
  59. '#type': pmail
  60. '#title': Email
  61. '#required': true
  62. phone:
  63. '#type': phone
  64. '#title': Phone
  65. payment:
  66. '#title': 'Payment Information'
  67. '#type': fieldset
  68. credit_card:
  69. '#type': creditcard
  70. '#title': 'Credit Card'
  71. '#title_display': invisible
  72. '#required': true
  73. '#name__required': true
  74. '#type__required': true
  75. '#number__required': true
  76. '#civ__required': true
  77. '#expiration_month__required': true
  78. '#expiration_year__required': true
  79. '#flexbox': '1'
  80. css: ''
  81. javascript: ''
  82. settings:
  83. page: true
  84. page_submit_path: ''
  85. page_confirm_path: ''
  86. form_submit_label: Donate
  87. form_submit_attributes: { }
  88. form_exception_message: ''
  89. form_closed_message: ''
  90. form_confidential: false
  91. form_confidential_message: ''
  92. form_prepopulate: false
  93. form_prepopulate_source_entity: false
  94. form_novalidate: false
  95. form_unsaved: false
  96. form_disable_back: false
  97. form_autofocus: false
  98. form_details_toggle: false
  99. wizard_progress_bar: true
  100. wizard_progress_pages: false
  101. wizard_progress_percentage: false
  102. wizard_next_button_label: ''
  103. wizard_next_button_attributes: { }
  104. wizard_prev_button_label: ''
  105. wizard_prev_button_attributes: { }
  106. wizard_start_label: ''
  107. wizard_complete: true
  108. wizard_complete_label: ''
  109. preview: 0
  110. preview_next_button_label: ''
  111. preview_next_button_attributes: { }
  112. preview_prev_button_label: ''
  113. preview_prev_button_attributes: { }
  114. preview_message: ''
  115. draft: false
  116. draft_auto_save: false
  117. draft_button_label: ''
  118. draft_button_attributes: { }
  119. draft_saved_message: ''
  120. draft_loaded_message: ''
  121. confirmation_type: page
  122. confirmation_message: |
  123. <h2>Thank you!!!</h2>
  124. <p>Your donation was processed successfully!</p>
  125. confirmation_url: ''
  126. confirmation_attributes: { }
  127. confirmation_back: true
  128. confirmation_back_label: ''
  129. confirmation_back_attributes: { }
  130. limit_total: null
  131. limit_total_message: ''
  132. limit_user: null
  133. limit_user_message: ''
  134. entity_limit_total: null
  135. entity_limit_user: null
  136. results_disabled: false
  137. results_disabled_ignore: false
  138. token_update: false
  139. access:
  140. create:
  141. roles:
  142. - anonymous
  143. - authenticated
  144. users: { }
  145. view_any:
  146. roles: { }
  147. users: { }
  148. update_any:
  149. roles: { }
  150. users: { }
  151. delete_any:
  152. roles: { }
  153. users: { }
  154. purge_any:
  155. roles: { }
  156. users: { }
  157. view_own:
  158. roles: { }
  159. users: { }
  160. update_own:
  161. roles: { }
  162. users: { }
  163. delete_own:
  164. roles: { }
  165. users: { }
  166. handlers:
  167. email_notification:
  168. id: email
  169. label: 'Email Notification'
  170. handler_id: email_notification
  171. status: true
  172. weight: 1
  173. settings:
  174. to_mail: default
  175. cc_mail: ''
  176. bcc_mail: ''
  177. from_mail: '[yamlform_submission:values:email:raw]'
  178. from_name: '[yamlform_submission:values:first_name] [yamlform_submission:values:last_name]'
  179. subject: default
  180. body: default
  181. excluded_elements: { }
  182. html: true
  183. attachments: false
  184. debug: false