Add contact form updates and change mailer

This commit is contained in:
Christopher Thompson 2020-04-29 14:32:19 -04:00
parent 5de5aac641
commit 2be84e7d55
31 changed files with 193 additions and 24 deletions

View file

@ -1,8 +1,12 @@
uuid: 231b71a1-0001-400f-aa79-b25634c5c04f
langcode: en
status: open
dependencies:
module:
- antibot
third_party_settings:
antibot:
antibot: true
open: null
close: null
weight: 0
@ -17,20 +21,59 @@ elements: |
event_website:
'#type': url
'#title': 'Event website'
'#description': 'Optional: The URL of a website with further details of your event.'
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'
event_location:
'#type': textfield
'#title': 'Event location'
'#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
'#states':
visible:
':input[name="event_where"]':
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
'#states':
visible:
':input[name="event_where"]':
value: Online
description_of_event:
'#type': textarea
'#title': 'What should the speaker know about this event?'
budget_for_speaker:
'#type': textfield
'#title': 'Budget for speaker'
i_do_not_have_a_budget_:
'#type': checkbox
'#title': 'I do not have a budget.'
what_is_the_value_to_the_community_:
'#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.'
'#states':
visible:
':input[name="i_do_not_have_a_budget_"]':
checked: true
your_name:
'#type': webform_name
'#title': 'Your name'
@ -58,7 +101,6 @@ elements: |
'#options':
'Ben Melançon': 'Ben Melançon'
'Mauricio Dinarte': 'Mauricio Dinarte'
'Clayton Dewey': 'Clayton Dewey'
'Micky Metts': 'Micky Metts'
'David Valdez': 'David Valdez'
'Christopher Thompson': 'Christopher Thompson'
@ -271,7 +313,3 @@ handlers:
theme_name: ''
parameters: { }
variants: { }
uuid: 231b71a1-0001-400f-aa79-b25634c5c04f
third_party_settings:
antibot:
antibot: true