Commit new & updated webforms

This commit is contained in:
benjamin melançon 2020-06-15 15:53:12 -04:00
parent ffd398200c
commit eaf8c4aa9f
22 changed files with 972 additions and 85 deletions

View file

@ -1,12 +1,6 @@
uuid: 231b71a1-0001-400f-aa79-b25634c5c04f
langcode: en
status: open
dependencies:
module:
- antibot
third_party_settings:
antibot:
antibot: true
dependencies: { }
open: null
close: null
weight: 0
@ -21,96 +15,130 @@ elements: |
event_website:
'#type': url
'#title': 'Event website'
'#description': 'Optional: The URL of a website with further details of your event.'
'#description': 'If there is a website for this event, typle the URL here. Leave blank if there is no website. The more information we have about your event, the more relevant our presentation will be!'
'#title_display': inline
'#maxlength': 120
'#size': 120
'#placeholder': 'https://'
event_dates:
'#type': datetime
'#title': 'Event date'
'#date_date_datepicker_button': false
'#date_time_element': none
event_where:
'#type': select
'#title': 'Event Location'
'#options':
Online: Online
'Conference Call': 'Conference Call'
'In Person': 'In Person'
'#title': 'Event date and time'
'#title_display': inline
'#date_date_element': datepicker
'#date_date_datepicker_button': true
'#date_date_placeholder': 'Date of event'
'#date_date_format': 'D, m/d/Y'
'#date_time_element': timepicker
'#date_time_placeholder': 'Time of the event'
'#date_time_format': 'g:i A'
'#date_time_step': '1800'
event_location:
'#type': textfield
'#type': select
'#title': 'Event location'
'#description': 'If you do not have an event location yet, leave this field set to 'None'.'
'#options':
online: Online
in_person: 'In Person'
conference_call: 'Conference Call'
event_address:
'#type': webform_address
'#title': 'Event address'
'#states':
visible:
':input[name="event_where"]':
value: 'In Person'
online_video_chat:
'#type': checkbox
'#title': 'Would you like Agaric to provide a video chat for your event?'
'#title_display': before
':input[name="event_location"]':
value: in_person
'#address_2__access': false
'#state_province__access': false
'#postal_code__access': false
event_type:
'#type': select
'#title': 'Event type'
'#description': |
<p><span style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#0d1e34; display:inline !important; float:none; font-family:Poppins,&quot;Century Gothic&quot;,CenturyGothic,AppleGothic,sans-serif; font-size:10.08px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">What type of event are you having? We can provide presentations, workshops or demonstrations of free software tools such as video chat, document management and storage, communication tools that protect your privacy and security.</span><br />
&nbsp;</p>
'#title_display': inline
'#options':
presentation: Presentation
workshop: Workshop
demo: Demo
interview: Interview
consultation: Consultation
'#empty_option': 'Select one'
'#empty_value': 'Select one'
'#options_randomize': true
would_you_like_agaric_to_host_your_online_event_:
'#type': select
'#title': 'Would you like Agaric to host your online event?'
'#options': yes_no
'#options_randomize': true
'#states':
visible:
':input[name="event_where"]':
value: Online
':input[name="event_location"]':
value: online
would_you_like_agaric_to_provide_a_video_recording_of_your_event:
'#type': checkbox
'#title': 'Would you like Agaric to provide a video recording of your event?'
'#title_display': before
'#type': select
'#title': 'Would you like Agaric to provide a recording of your event?'
'#options': yes_no
'#states':
visible:
':input[name="event_where"]':
value: Online
description_of_event:
'#type': textarea
'#title': 'What should the speaker know about this event?'
':input[name="event_location"]':
value: online
budget_for_speaker:
'#type': textfield
'#title': 'Budget for speaker'
'#title': 'Your budget'
'#description': 'If you do not have a budget, leave this field blank and check the box below.'
'#maxlength': 10
i_do_not_have_a_budget_:
'#type': checkbox
'#title': 'I do not have a budget.'
what_is_the_value_to_the_community_:
'#title': 'I do not have a budget'
i_do_not_have_a_budget:
'#type': textarea
'#title': 'What is the value to the community?'
'#description': 'Please give us an idea of how a chat with us could bring value to your community. A brief description of the topic and why you think it is important will suffice! We do not wish to discourage people that may not have funds in dollars.'
'#title': 'I have a mission without a budget'
'#description': 'Please explain the mission of your request and how it will help your community. We do not wish to prevent those without funds from benefitting from our expertise.'
'#states':
visible:
':input[name="i_do_not_have_a_budget_"]':
checked: true
description_of_event:
'#type': textarea
'#title': 'What else should the speaker know about this event?'
'#description': '<span style="-webkit-text-stroke-width:0px; background-color:#ffffff; color:#0d1e34; display:inline !important; float:none; font-family:Poppins,&quot;Century Gothic&quot;,CenturyGothic,AppleGothic,sans-serif; font-size:10.08px; font-style:normal; font-variant-caps:normal; font-variant-ligatures:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:start; text-decoration-color:initial; text-decoration-style:initial; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">Please include any information that would be helpful for us to be able to give the most relevant presentation or workshop.</span>'
your_name:
'#type': webform_name
'#title': 'Your name'
'#title': 'Contact''s name'
'#title__access': false
'#first__title': 'Your name'
'#first__title': 'Contact''s name'
'#middle__access': false
'#last__access': false
'#suffix__access': false
'#degree__access': false
email:
'#type': email
'#title': 'Your email'
'#title': 'Contact''s email *'
'#required': true
'#required_error': 'Your email is required for Agaric to respond. Your contact information will not be shared.'
phone:
'#type': tel
'#title': 'Your phone'
'#title': 'Contact''s phone number'
'#description': 'Your information will not be shared.'
'#international': true
'#international_initial_country': auto
additional_info:
'#type': textarea
'#title': 'Additional information'
speaker_s_name:
'#type': webform_select_other
'#title': 'Select a speaker'
'#title': 'Select an Agaric!'
'#title_display': none
'#options':
'Ben Melançon': 'Ben Melançon'
'Mauricio Dinarte': 'Mauricio Dinarte'
'Micky Metts': 'Micky Metts'
'David Valdez': 'David Valdez'
'Christopher Thompson': 'Christopher Thompson'
'#empty_option': Other
'#empty_value': Other
'#options_randomize': true
mlncn: 'Ben Melançon'
dinarcon: 'Mauricio Dinarte'
Gnuget: 'David Valdez'
wolcen: 'Christopher Thompson'
freescholar: 'Micky Metts'
'#empty_option': 'Select an Agaric'
'#empty_value': 'Select one'
actions:
'#type': webform_actions
'#title': 'Submit button(s)'
'#submit__label': 'Invite an Agaric to speak'
'#submit__label': 'Send to Agaric'
css: ''
javascript: ''
settings:
@ -152,6 +180,11 @@ settings:
form_access_denied_message: ''
form_access_denied_attributes: { }
form_file_limit: ''
share: false
share_node: false
share_theme_name: ''
share_title: true
share_page_body_attributes: { }
submission_label: 'Speaker request for Agaric'
submission_log: false
submission_views: { }
@ -201,7 +234,7 @@ settings:
draft_pending_multiple_message: ''
confirmation_type: page
confirmation_title: 'Thank you for asking an Agaric to speak!'
confirmation_message: 'Request an Agaric&#39;s presence for a presentation or lecture.'
confirmation_message: 'Thank you! You have requested an Agaric&#39;s presence for a presentation, interview, workshop, or lecture. One of us will respond to you very soon! You can find past appearances on our individual <a href="/team">Agaric worker-owner pages</a>.'
confirmation_url: /your-request-has-been-sent-agaric
confirmation_attributes: { }
confirmation_back: true
@ -226,6 +259,7 @@ settings:
purge_days: null
results_disabled: false
results_disabled_ignore: false
results_customize: false
token_view: false
token_update: false
access:
@ -313,3 +347,4 @@ handlers:
theme_name: ''
parameters: { }
variants: { }
uuid: 231b71a1-0001-400f-aa79-b25634c5c04f