diff --git a/config/sync/webform.settings.yml b/config/sync/webform.settings.yml index 06c134a..6a7a8b0 100644 --- a/config/sync/webform.settings.yml +++ b/config/sync/webform.settings.yml @@ -192,6 +192,8 @@ file: delete_temporary_managed_files: true format: { } mail: + roles: + - staff default_to_mail: '[site:mail]' default_from_mail: '[site:mail]' default_from_name: '[site:name]' @@ -211,7 +213,6 @@ mail:
Submitted by: [webform_submission:user]
Submitted values are:
[webform_submission:values] - roles: { } test: types: | checkbox: diff --git a/config/sync/webform.webform.purchase_training_migrate_api.yml b/config/sync/webform.webform.purchase_training_migrate_api.yml index 16020bd..b5d23f3 100644 --- a/config/sync/webform.webform.purchase_training_migrate_api.yml +++ b/config/sync/webform.webform.purchase_training_migrate_api.yml @@ -1,7 +1,9 @@ uuid: ec5ed05c-7d47-45df-aa42-eb90c5bda2c9 langcode: en status: open -dependencies: { } +dependencies: + module: + - stripe_webform open: null close: null weight: 0 @@ -13,21 +15,39 @@ title: 'Upgrading to Drupal 9 using the Migrate API' description: '' category: Purchase elements: | - signup: - '#type': webform_wizard_page - '#title': Signup - '#next_button_label': 'Get tickets' - email: - '#type': email - '#title': E-mail - purchase: - '#type': webform_wizard_page - '#title': Purchase - optional_info_for_your_receipt: - '#type': textarea - '#title': 'Optional info for your receipt' - '#placeholder': 'Your company name, purchase order, etc. Leave blank if you don''t need it.' - '#autocomplete': 'off' + course_summary: + '#type': processed_text + '#text': | + ## Upgrading to Drupal 9 using the Migrate API + + * Lead instructor: **Mauricio Dinarte** + * Date: **2020 July 17** + * Cost: **$500** + + '#format': markdown + name: + '#type': textfield + '#title': Name + email: + '#type': email + '#title': E-mail + '#required': true + payment: + '#type': stripe + '#title': Payment + '#format_items': ul + '#format_items_html': '' + '#format_items_text': '' + '#stripe_selectors_name': ':input[name="name"]' + optional_info_for_your_receipt: + '#type': textarea + '#title': 'Optional info for your receipt' + '#placeholder': 'Your company name, purchase order, etc. Leave blank if you don''t need it.' + '#autocomplete': 'off' + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#submit__label': Purchase css: '' javascript: '' settings: @@ -119,12 +139,15 @@ settings: draft_loaded_message: '' draft_pending_single_message: '' draft_pending_multiple_message: '' - confirmation_type: page + confirmation_type: inline confirmation_title: '' - confirmation_message: '' + confirmation_message: | + Thank you [webform_submission:values:name]! You're registered for: