From d2b410226d5cbfa9e822fa7a05f055d4cf5adae0 Mon Sep 17 00:00:00 2001 From: Yeni Atencio Date: Tue, 21 May 2024 11:01:46 +1000 Subject: [PATCH] added field --- ...rm.webform.tide_webform_content_rating.yml | 75 +++++++++++++++---- 1 file changed, 61 insertions(+), 14 deletions(-) diff --git a/config/install/webform.webform.tide_webform_content_rating.yml b/config/install/webform.webform.tide_webform_content_rating.yml index f0e60eb..f0b7397 100644 --- a/config/install/webform.webform.tide_webform_content_rating.yml +++ b/config/install/webform.webform.tide_webform_content_rating.yml @@ -1,15 +1,61 @@ langcode: en status: open dependencies: { } +weight: 0 open: null close: null uid: null template: false +archive: false id: tide_webform_content_rating title: 'Content Rating' description: ''Was this page helpful' rating/survey on content pages.' -category: '' -elements: "url:\n '#type': hidden\n '#title': URL\nwas_this_page_helpful:\n '#type': radios\n '#title': 'Was this page helpful?'\n '#options': yes_no\n '#required': true\ncomments:\n '#type': textarea\n '#title': 'Any comments? (optional)'\n '#rows': '2'\n '#counter_type': word\n '#counter_maximum': '500'\n '#states':\n visible:\n ':input[name=\"was_this_page_helpful\"]':\n checked: true\n '#format_items': comma\nreset:\n '#type': processed_text\n '#wrapper_attributes':\n class:\n - webform-content-rating-cancel\n '#states':\n visible:\n ':input[name=\"was_this_page_helpful\"]':\n checked: true\n '#text': '

Cancel

'\n '#format': admin_text\nactions:\n '#type': webform_actions\n '#title': 'Submit button(s)'\n '#states':\n visible:\n ':input[name=\"was_this_page_helpful\"]':\n checked: true\n" +categories: { } +elements: |- + url: + '#type': hidden + '#title': URL + was_this_page_helpful: + '#type': radios + '#title': 'Was this page helpful?' + '#options': yes_no + '#required': true + comments: + '#type': textarea + '#title': 'Any comments? (optional)' + '#rows': '2' + '#counter_type': word + '#counter_maximum': '500' + '#states': + visible: + ':input[name="was_this_page_helpful"]': + checked: true + '#format_items': comma + reset: + '#type': processed_text + '#wrapper_attributes': + class: + - webform-content-rating-cancel + '#states': + visible: + ':input[name="was_this_page_helpful"]': + checked: true + '#text': '

Cancel

' + '#format': admin_text + help_text_any_comments: + '#type': webform_markup + '#states': + visible: + ':input[name="was_this_page_helpful"]': + '': '' + '#display_on': both + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#states': + visible: + ':input[name="was_this_page_helpful"]': + checked: true css: '' javascript: '' settings: @@ -19,9 +65,9 @@ settings: page_submit_path: '' page_confirm_path: '' form_submit_once: false - form_exception_message: '' form_open_message: '' form_close_message: '' + form_exception_message: '' form_previous_submissions: false form_confidential: false form_confidential_message: '' @@ -30,24 +76,20 @@ settings: form_prepopulate_source_entity: false form_prepopulate_source_entity_required: false form_prepopulate_source_entity_type: '' - form_reset: false - form_disable_autocomplete: false - form_novalidate: false - form_required: false form_unsaved: false form_disable_back: false form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_required: false form_autofocus: false form_details_toggle: false - form_login: false - form_login_message: '' + form_reset: false submission_label: '' - submission_log: false - submission_user_columns: { } - submission_login: false - submission_login_message: '' submission_exception_message: '' submission_locked_message: '' + submission_log: false + submission_user_columns: { } autofill: false autofill_message: '' autofill_excluded_elements: { } @@ -71,9 +113,9 @@ settings: draft_saved_message: '' draft_loaded_message: '' confirmation_type: message + confirmation_url: '' confirmation_title: '' confirmation_message: 'Thank you, your feedback is valuable to us.' - confirmation_url: '' confirmation_attributes: { } confirmation_back: true confirmation_back_label: '' @@ -93,6 +135,10 @@ settings: results_disabled: false results_disabled_ignore: false token_update: false + form_login: false + form_login_message: '' + submission_login: false + submission_login_message: '' access: create: roles: @@ -138,3 +184,4 @@ access: users: { } permissions: { } handlers: { } +variants: { }