Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Testing/new field comment #106

Open
wants to merge 1 commit into
base: reference
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 61 additions & 14 deletions config/install/webform.webform.tide_webform_content_rating.yml
Original file line number Diff line number Diff line change
@@ -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': '<p><a id=\"webform-content-rating-cancel\" href=\"#\">Cancel</a></p>'\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': '<p><a id="webform-content-rating-cancel" href="#">Cancel</a></p>'
'#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:
Expand All @@ -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: ''
Expand All @@ -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: { }
Expand All @@ -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: ''
Expand All @@ -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:
Expand Down Expand Up @@ -138,3 +184,4 @@ access:
users: { }
permissions: { }
handlers: { }
variants: { }
Loading