multijoueur webform confirmation page

This commit is contained in:
Bachir Soussi Chiadmi 2021-07-05 12:31:11 +02:00
parent 2f41f2cf85
commit e8a8c43a29
6 changed files with 10 additions and 7 deletions

View File

@ -1 +1,3 @@
elements: "address:\n '#default_value':\n additional_name: ''\n dependent_locality: ''\n administrative_area: ''\nvat_number:\n '#title': 'VAT number'\n '#description': 'Intra-community VAT number (to be completed only for professionals outside France)'\nphone:\n '#title': Phone\ncollaborateur:\n '#title': Collaborators\nactions:\n '#submit__label': 'Ask for a quote'\n"
settings:
confirmation_message: "Your quote request has been registered, we are already drafting it and will send it to you by email very quickly.<br />\r\n<br />\r\n<a href=\"/\">back to materiO'</a>"

View File

@ -17,7 +17,7 @@ id: multi_joueur
title: Multi-Joueur
description: ''
category: ''
elements: "address:\n '#type': address\n '#title': Address\n '#required': true\n '#default_value':\n country_code: FR\n langcode: ''\n organization: ''\n given_name: ''\n family_name: ''\n address_line1: ''\n address_line2: ''\n postal_code: ''\n locality: ''\n sorting_code: ''\n additional_name: null\n dependent_locality: null\n administrative_area: null\nvat_number:\n '#type': textfield\n '#title': 'Numéro de TVA'\n '#description': 'N&deg; de TVA intracommunautaire (&agrave; renseigner uniquement pour les professionnels hors France)'\nphone:\n '#type': tel\n '#title': Téléphone\n '#required': true\n '#telephone_validation_format': '0'\nemail_confirm:\n '#type': webform_email_confirm\n '#title': Email\n '#required': true\n '#flexbox': '0'\ncollaborateur:\n '#type': webform_contact\n '#title': Collaborateurs\n '#multiple': true\n '#multiple__min_items': 2\n '#multiple__empty_items': 2\n '#multiple__sorting': false\n '#multiple__add': false\n '#multiple__add_more_input': false\n '#name__required': true\n '#company__access': false\n '#email__required': true\n '#phone__access': false\n '#address__access': false\n '#address_2__access': false\n '#city__access': false\n '#state_province__access': false\n '#postal_code__access': false\n '#country__access': false\n '#flexbox': '0'\nactions:\n '#type': webform_actions\n '#title': 'Submit button(s)'\n '#submit__label': 'Envoyer la demande devis'"
elements: "address:\n '#type': address\n '#title': Address\n '#required': true\n '#default_value':\n country_code: FR\n langcode: ''\n organization: ''\n given_name: ''\n family_name: ''\n address_line1: ''\n address_line2: ''\n postal_code: ''\n locality: ''\n sorting_code: ''\n additional_name: null\n dependent_locality: null\n administrative_area: null\nvat_number:\n '#type': textfield\n '#title': 'Numéro de TVA'\n '#description': 'N&deg; de TVA intracommunautaire (&agrave; renseigner uniquement pour les professionnels hors France)'\nphone:\n '#type': tel\n '#title': Téléphone\n '#required': true\n '#international': true\n '#international_preferred_countries':\n - FR\n '#telephone_validation_format': '0'\nemail_confirm:\n '#type': webform_email_confirm\n '#title': Email\n '#required': true\n '#flexbox': '0'\ncollaborateur:\n '#type': webform_contact\n '#title': Collaborateurs\n '#multiple': true\n '#multiple__min_items': 2\n '#multiple__empty_items': 2\n '#multiple__sorting': false\n '#multiple__add': false\n '#multiple__add_more_input': false\n '#name__required': true\n '#company__access': false\n '#email__required': true\n '#phone__access': false\n '#address__access': false\n '#address_2__access': false\n '#city__access': false\n '#state_province__access': false\n '#postal_code__access': false\n '#country__access': false\n '#flexbox': '0'\nactions:\n '#type': webform_actions\n '#title': 'Submit button(s)'\n '#submit__label': 'Envoyer la demande devis'"
css: ''
javascript: ''
settings:
@ -119,10 +119,10 @@ settings:
draft_pending_multiple_message: ''
confirmation_type: page
confirmation_title: ''
confirmation_message: ''
confirmation_message: "Votre demande de devis a bien &eacute;t&eacute; enregistr&eacute;e, nous sommes deja en train de le r&eacute;dig&eacute; et vous l&#39;envoyons par email tr&egrave;s rapidement.<br />\r\n<br />\r\n<a href=\"/\">retour au site</a>"
confirmation_url: ''
confirmation_attributes: { }
confirmation_back: true
confirmation_back: false
confirmation_back_label: ''
confirmation_back_attributes: { }
confirmation_exclude_query: false

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -103,7 +103,8 @@ export let _v_sitebranding_block, _v_user_block, _v_header_menu,
if (drupalDecoupled.route_name.indexOf('commerce') !== -1 ||
drupalDecoupled.route_name.indexOf('flagging_collection') !== -1 ||
drupalDecoupled.route_name.indexOf('user') !== -1 ||
drupalDecoupled.route_name.indexOf('entity.webform.canonical') !== -1) {
drupalDecoupled.route_name.indexOf('entity.webform.canonical') !== -1 ||
drupalDecoupled.route_name.indexOf('entity.webform.confirmation') !== -1) {
console.debug('NO VUEJS')
return true
} else {