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.ymlView source
- langcode: en
- status: false
- dependencies:
- enforced:
- module:
- - yamlform_templates
- uid: null
- template: true
- id: template_donation
- title: Donation
- description: 'A donation form template.'
- elements: |
- donation:
- '#title': 'Donation Information'
- '#type': fieldset
- amount:
- '#type': buttons_other
- '#title': Amount
- '#title_display': invisible
- '#required': true
- '#options':
- 25: $25
- 50: $50
- 100: $100
- 250: $250
- 500: $500
- '#other__option_label': Other
- '#other__title': 'Please Enter Your Donation'
- '#other__type': number
- '#other__min': 1
- '#other__placeholder': ''
- '#other__field_prefix': $
- '#other__field_suffix': '.00'
- billing:
- '#title': 'Billing Information'
- '#type': fieldset
- name:
- '#type': name
- '#title': Name
- '#title_display': invisible
- '#required': true
- '#first__required': true
- '#last__required': true
- '#suffix__access': false
- '#degree__access': false
- '#flexbox': '1'
- address:
- '#type': address
- '#title': Address
- '#title_display': invisible
- '#required': true
- '#address__required': true
- '#city__required': true
- '#state_province__required': true
- '#postal_code__required': true
- '#country__required': true
- '#flexbox': '1'
- email:
- '#type': pmail
- '#title': Email
- '#required': true
- phone:
- '#type': phone
- '#title': Phone
- payment:
- '#title': 'Payment Information'
- '#type': fieldset
- credit_card:
- '#type': creditcard
- '#title': 'Credit Card'
- '#title_display': invisible
- '#required': true
- '#name__required': true
- '#type__required': true
- '#number__required': true
- '#civ__required': true
- '#expiration_month__required': true
- '#expiration_year__required': true
- '#flexbox': '1'
- css: ''
- javascript: ''
- settings:
- page: true
- page_submit_path: ''
- page_confirm_path: ''
- form_submit_label: Donate
- form_submit_attributes: { }
- form_exception_message: ''
- form_closed_message: ''
- form_confidential: false
- form_confidential_message: ''
- form_prepopulate: false
- form_prepopulate_source_entity: false
- form_novalidate: false
- form_unsaved: false
- form_disable_back: false
- form_autofocus: false
- form_details_toggle: false
- wizard_progress_bar: true
- wizard_progress_pages: false
- wizard_progress_percentage: false
- wizard_next_button_label: ''
- wizard_next_button_attributes: { }
- wizard_prev_button_label: ''
- wizard_prev_button_attributes: { }
- wizard_start_label: ''
- wizard_complete: true
- wizard_complete_label: ''
- preview: 0
- preview_next_button_label: ''
- preview_next_button_attributes: { }
- preview_prev_button_label: ''
- preview_prev_button_attributes: { }
- preview_message: ''
- draft: false
- draft_auto_save: false
- draft_button_label: ''
- draft_button_attributes: { }
- draft_saved_message: ''
- draft_loaded_message: ''
- confirmation_type: page
- confirmation_message: |
- <h2>Thank you!!!</h2>
- <p>Your donation was processed successfully!</p>
- confirmation_url: ''
- confirmation_attributes: { }
- confirmation_back: true
- confirmation_back_label: ''
- confirmation_back_attributes: { }
- limit_total: null
- limit_total_message: ''
- limit_user: null
- limit_user_message: ''
- entity_limit_total: null
- entity_limit_user: null
- results_disabled: false
- results_disabled_ignore: false
- token_update: false
- access:
- create:
- roles:
- - anonymous
- - authenticated
- users: { }
- view_any:
- roles: { }
- users: { }
- update_any:
- roles: { }
- users: { }
- delete_any:
- roles: { }
- users: { }
- purge_any:
- roles: { }
- users: { }
- view_own:
- roles: { }
- users: { }
- update_own:
- roles: { }
- users: { }
- delete_own:
- roles: { }
- users: { }
- handlers:
- email_notification:
- id: email
- label: 'Email Notification'
- handler_id: email_notification
- status: true
- weight: 1
- settings:
- to_mail: default
- cc_mail: ''
- bcc_mail: ''
- from_mail: '[yamlform_submission:values:email:raw]'
- from_name: '[yamlform_submission:values:first_name] [yamlform_submission:values:last_name]'
- subject: default
- body: default
- excluded_elements: { }
- html: true
- attachments: false
- debug: false