diff --git a/web/sites/default/config/webform.webform.report_park_maintenance_issue.yml b/web/sites/default/config/webform.webform.report_park_maintenance_issue.yml index 0a15bae10d..88d065ad26 100644 --- a/web/sites/default/config/webform.webform.report_park_maintenance_issue.yml +++ b/web/sites/default/config/webform.webform.report_park_maintenance_issue.yml @@ -380,9 +380,9 @@ elements: |- report_photo: '#type': webform_image_file '#title': Photo - '#description': 'If appropriate, please include a photo of the issue you are reporting. Please do not include photos where other people are present and identifiable.' + '#description': '

If appropriate, please include a photo of the issue you are reporting. Please do not include photos where other people are present and identifiable.

' '#description_display': before - '#file_preview': 'medium:image' + '#file_preview': raw '#max_filesize': '30' '#file_extensions': 'gif jpg png svg jpeg' '#file_name': 'report_[webform_submission:sid]' diff --git a/web/sites/default/config/webform.webform.report_roadway_surface_damage.yml b/web/sites/default/config/webform.webform.report_roadway_surface_damage.yml new file mode 100644 index 0000000000..c0c2710ddf --- /dev/null +++ b/web/sites/default/config/webform.webform.report_roadway_surface_damage.yml @@ -0,0 +1,434 @@ +uuid: e134a3ca-02b9-400d-ae2d-a7c2eab819a2 +langcode: en +status: open +dependencies: + module: + - portland + - portland_zendesk +third_party_settings: + portland: + disable_demographic_form_prompt: 0 + exclude_from_json: { } +weight: 0 +open: null +close: null +uid: 628 +template: false +archive: false +id: report_roadway_surface_damage +title: 'Report Roadway Surface Damage' +description: '' +categories: + - 'PBOT MO' + - Report +elements: |- + user_role: + '#type': webform_computed_twig + '#title': 'User Role' + '#wrapper_attributes': + class: + - d-none + '#display_on': form + '#mode': text + '#template': "{{ webform_token('[current-user:roles:first]', webform_submission, [], options)|default('anonymous') }}" + '#whitespace': trim + report_damage_type: + '#type': webform_radios_other + '#title': 'What type of damage are you reporting?' + '#options': + Pothole: 'Pothole -- A rough hole in the road' + Sinkhole: 'Sinkhole -- A large depression, like the earth caved in' + Landslide: 'Landslide -- A mass of dirt or rocks that slid onto the road' + 'Utility cut': 'Utility cut -- A square or rectangular cut in the road used to fix water or sewer lines' + 'Pavement markings are wearing or missing': 'Pavement markings are wearing or missing' + 'Gravel street needs maintenance': 'Gravel street needs maintenance' + Graffiti: Graffiti + '#other__option_label': 'Something else...' + '#other__placeholder': 'Please describe' + '#required': true + markup_continue: + '#type': webform_markup + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + unchecked: true + '#markup': '

Please make a selection to continue.

' + markup_sinkholes: + '#type': markup_stop_sinkhole_or_landslide + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + value: Sinkhole + ':input[name="user_role"]': + value: anonymous + '#markup': |- +
+

Next Steps

+ +

Sinkholes are considered urgent. To ensure a fast response, please call PBOT's 24/7 maintenance dispatch line at 503-823-1700 to speak with a representative about the roadway damage.

+
+ markup_landslides: + '#type': webform_markup + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + value: Landslide + ':input[name="user_role"]': + value: anonymous + '#markup': |- +
+

Next Steps

+ +

Landslides are considered urgent. To ensure a fast response, please call PBOT's 24/7 maintenance dispatch line at 503-823-1700 to speak with a representative about the roadway damage.

+
+ markup_graffiti: + '#type': markup_stop_sinkhole_or_landslide + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + value: Graffiti + '#markup': |- +
+

Next Steps

+ +

To ensure the fastest response, please report this through the Report Graffiti service.

+ +

Continue

+
+ container_continue_report: + '#type': container + '#states': + invisible: + - ':input[name="report_damage_type[radios]"]': + unchecked: true + - or + - ':input[name="report_damage_type[radios]"]': + value: Graffiti + - or + - ':input[name="user_role"]': + value: anonymous + ':input[name="report_damage_type[radios]"]': + value: + pattern: 'Sinkhole|Landslide|Graffiti|Gravel street needs maintenance' + report_location: + '#type': portland_location_picker + '#title': 'Location of damage' + '#location_type__access': false + '#location_park_container__access': false + '#location_private_owner__access': false + '#location_address__description': 'Enter the address or intersection nearest to the damage and click Verify. Please zoom in and choose the exact location of the pothole. Try to be as precise as possible.' + '#location_address__required': true + '#place_name__access': false + '#location_details__access': false + '#require_city_limits': true + report_time: + '#type': webform_time + '#title': 'Time call received' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + report_description: + '#type': textarea + '#title': 'Description of issue' + '#description': 'Please provide any other details about the damage or location that may be useful.' + report_has_photo: + '#type': radios + '#title': 'Do you have a photo?' + '#options': yes_no + '#options_display': side_by_side + '#required': true + '#states': + invisible: + - ':input[name="report_damage_type[radios]"]': + value: Sinkhole + - or + - ':input[name="report_damage_type[radios]"]': + value: Landslide + report_damage_severity: + '#type': radios + '#title': "Which of the following best matches the issue you're reporting?" + '#options': + 'Cracks in the surface': 'Cracks in the surface -- ' + 'Pothole with gravel/debris, mostly flush with the road': 'Pothole with gravel/debris, mostly flush with the road -- ' + 'Larger pothole with a noticeably sunken surface': 'Larger pothole with a noticeably sunken surface -- ' + 'Deep, potentially hazardous pothole in lane or crosswalk': 'Deep, potentially hazardous pothole in lane or crosswalk -- ' + '#states': + visible: + ':input[name="report_has_photo"]': + value: 'No' + ':input[name="report_damage_type[radios]"]': + value: Pothole + report_photo: + '#type': webform_image_file + '#title': Photo + '#description': '

If possible and safe to do so, please include a picture of the damage you are reporting.

' + '#description_display': before + '#states': + invisible: + - ':input[name="report_damage_type[radios]"]': + value: Sinkhole + - or + - ':input[name="report_damage_type[radios]"]': + value: Landslide + - or + - ':input[name="report_has_photo"]': + value: 'No' + - or + - ':input[name="report_has_photo"]': + unchecked: true + '#file_preview': 'medium:image' + '#max_filesize': '30' + '#file_extensions': 'jpg png jpeg' + '#file_name': 'report_[webform_submission:sid]' + '#sanitize': true + '#max_resolution': 1280x1280 + '#attachment_image_style': webform_report_uploaded_image + section_contact: + '#type': webform_section + '#title': 'Your Contact Information' + contact_name: + '#type': textfield + '#title': Name + '#states': + invisible: + ':input[name="report_damage_type[radios]"]': + value: Pothole + contact_email: + '#type': textfield + '#title': Email + '#description': '

We will use your email to confirm your submission and respond if necessary.

' + '#required': true + '#pattern': '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' + '#pattern_error': 'Please enter a correctly formatted email address, such as myname@example.com.' + contact_phone: + '#type': textfield + '#title': Phone + '#input_mask': '(999) 999-9999' + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + markup_gravel_street: + '#type': markup_stop_sinkhole_or_landslide + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + value: 'Gravel street needs maintenance' + ':input[name="user_role"]': + value: anonymous + '#markup': |- +
+

Information

+ +

The City of Portland fills ruts and holes then regrades gravel streets once every three years. Learn more about the Gravel Street Service.

+
+css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: + zendesk_new_request: + id: zendesk + handler_id: zendesk_new_request + label: 'Zendesk new request' + notes: '' + status: true + conditions: { } + weight: 0 + settings: + requester_name: contact_name + requester_email: contact_email + subject: 'Roadway Surface Damage Report ([webform_submission:values:report_damage_type])' + comment: '[webform_submission:values:html]' + tags: 'drupal webform' + priority: normal + status: new + group_id: '13673642085527' + assignee_id: '' + type: problem + collaborators: '' + custom_fields: '' + ticket_id_field: '' + ticket_form_id: '13796628711191' + recipient: '' + ticket_fork_field: '' +variants: { } diff --git a/web/sites/default/config/webform.webform.report_sewer_issue.yml b/web/sites/default/config/webform.webform.report_sewer_issue.yml new file mode 100644 index 0000000000..0c4ab9d5af --- /dev/null +++ b/web/sites/default/config/webform.webform.report_sewer_issue.yml @@ -0,0 +1,392 @@ +uuid: d28ebd59-d4d9-4035-8671-c2422b7ed09f +langcode: en +status: open +dependencies: + module: + - portland +third_party_settings: + portland: + disable_demographic_form_prompt: 0 + exclude_from_json: { } +weight: 0 +open: null +close: null +uid: 221 +template: false +archive: false +id: report_sewer_issue +title: 'Report Sewer or Green Street Facility Issue' +description: '' +categories: + - 'PBOT MO' + - Report +elements: |- + user_role: + '#type': webform_computed_twig + '#title': 'User Role' + '#wrapper_attributes': + style: 'display: none;' + '#mode': text + '#template': "{{ webform_token('[current-user:roles:first]', webform_submission, [], options)|default('anonymous') }}" + '#whitespace': trim + report_asset_type: + '#type': radios + '#title': 'What type of problem are you reporting?' + '#options': + 'Clogged or blocked storm drain': 'Clogged or blocked storm drain' + 'Sewer odor': 'Sewer odor' + 'Sewer backup/overflow': 'Sewer backup/overflow' + 'Grate missing / displaced maintenance cover': 'Grate missing / displaced maintenance cover' + 'Green street facility, bioswale, planter': 'Green street facility, bioswale, planter' + markup_continue: + '#type': webform_markup + '#states': + visible: + ':input[name="report_asset_type"]': + unchecked: true + '#markup': '

Please make a selection to continue.

' + markup_urgent_call: + '#type': webform_markup + '#states': + visible: + ':input[name="user_role"]': + value: anonymous + ':input[name="report_asset_type"]': + value: + pattern: 'Clogged or blocked storm drain|Sewer odor|Sewer backup/overflow|Grate missing / displaced maintenance cover' + '#markup': |- +
+

Next Steps

+ +

Call Portland Bureau of Transportation’s (PBOT) 24/7 maintenance dispatch at 503-823-1700 to report damaged streetlight poles.

+
+ container_submit: + '#type': container + '#states': + visible: + - ':input[name="user_role"]': + value: anonymous + ':input[name="report_asset_type"]': + value: 'Green street facility, bioswale, planter' + - or + - ':input[name="user_role"]': + value: authenticated + ':input[name="report_asset_type"]': + checked: true + report_location: + '#type': portland_location_picker + '#title': 'Location of the traffic calming device' + '#location_search__title': Location + '#place_name__access': false + '#location_details__access': false + '#location_details__title': 'Asset Details' + '#location_details__help': 'Please tell us as much as you can so we can better identify the asset.' + '#location_type__access': false + '#location_private_owner__access': false + sewer_odor_details: + '#type': webform_section + '#title': 'Sewer Odor Details' + '#states': + visible: + ':input[name="user_role"]': + value: authenticated + ':input[name="report_asset_type"]': + value: 'Sewer odor' + report_odor_from_treatment_plant: + '#type': radios + '#title': 'Is the odor from the Columbia Boulevard Wastewater Treatment Plant? ' + '#options': yes_no + '#options_display': side_by_side + report_odor_from_maintenance_cover: + '#type': radios + '#title': 'Is the odor from a storm drain or maintenance cover?' + '#options': yes_no + '#options_display': side_by_side + report_odor_strength: + '#type': textfield + '#title': 'How strong is the odor?' + report_odor_duration: + '#type': textfield + '#title': 'How long have you smelled the odor?' + report_odor_repeated: + '#type': radios + '#title': 'Have you noticed the odor before?' + '#options': yes_no + '#options_display': side_by_side + report_odor_weather: + '#type': textfield + '#title': 'What are the weather conditions, including wind direction?' + report_time: + '#type': webform_time + '#title': 'Time call received' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + report_issue_details: + '#type': textarea + '#title': 'Issue Details' + '#description': '

Please provide any other details that might help us find and identify the issue.

' + '#description_display': before + '#counter_type': character + '#counter_maximum': 400 + report_photo: + '#type': webform_image_file + '#title': 'Photo of issue' + '#file_preview': 'medium:image' + '#max_filesize': '30' + '#file_extensions': 'jpg jpeg png' + '#file_name': 'report_[webform_submission:sid]' + '#sanitize': true + '#max_resolution': 1280x1280 + '#attachment_image_style': webform_report_uploaded_image + section_contact: + '#type': webform_section + '#title': 'Your Contact Information' + markup_contact: + '#type': webform_markup + '#states': + visible: + ':input[name="user_role"]': + value: authenticated + ':input[name="report_asset_type"]': + value: 'Sewer odor' + '#markup': "

Please provide the community member's name, telephone, and address if they would like to be contacted about this problem.

" + contact_name: + '#type': textfield + '#title': Name + contact_email: + '#type': textfield + '#title': Email + '#pattern': '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' + '#pattern_error': 'Please enter a correctly formatted email address, such as myname@example.com.' + container_odor_contact_internal: + '#type': container + '#states': + visible: + ':input[name="user_role"]': + value: authenticated + ':input[name="report_asset_type"]': + value: 'Sewer odor' + contact_telephone: + '#type': textfield + '#title': Telephone + '#states': + visible: + ':input[name="user_role"]': + value: authenticated + ':input[name="report_asset_type"]': + value: 'Sewer odor' + contact_street_address: + '#type': textfield + '#title': 'Street Address' + '#states': + visible: + ':input[name="user_role"]': + value: authenticated + ':input[name="report_asset_type"]': + value: 'Sewer odor' + section_public_records_statement: + '#type': webform_section + '#title': 'Public Records Statement' + markup_public_records_statement: + '#type': webform_markup + '#markup': '

Information you provide to the City is a public record and may be subject to release under Oregon’s Public Records Law. This law classifies certain information as available to the public on request. See our privacy statement for more information.

' + support_agent_use_only: + '#type': portland_support_agent_widget + '#title': 'Support Agent Use Only' + '#access_create_roles': + - authenticated + '#escalate_issue__access': false + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#states': + visible: + ':input[name="report_in_roadway"]': + value: 'Yes' +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: { } +variants: { } diff --git a/web/sites/default/config/webform.webform.report_sidewalk_issue.yml b/web/sites/default/config/webform.webform.report_sidewalk_issue.yml new file mode 100644 index 0000000000..e8c2e441df --- /dev/null +++ b/web/sites/default/config/webform.webform.report_sidewalk_issue.yml @@ -0,0 +1,331 @@ +uuid: 8253163b-621d-4bd2-a08f-056b63028753 +langcode: en +status: open +dependencies: { } +weight: 0 +open: null +close: null +uid: 60 +template: false +archive: false +id: report_sidewalk_issue +title: 'Report Sidewalk or Curb Issue' +description: '' +categories: + - 'PBOT MO' + - Report +elements: |- + user_role: + '#type': webform_computed_twig + '#title': 'User Role' + '#wrapper_attributes': + class: + - d-none + '#mode': text + '#template': "{{ webform_token('[current-user:roles:first]', webform_submission, [], options)|default('anonymous') }}" + '#whitespace': trim + report_issue: + '#type': webform_radios_other + '#title': "What's the issue?" + '#options': + 'Sidewalk cracked, uplifting, or damaged': 'Sidewalk cracked, uplifting, or damaged' + 'Curb broken': 'Curb broken' + 'Corner cracked or missing concrete': 'Corner cracked or missing concrete' + 'Yellow anti-slip pad is chipped or broken': 'Yellow anti-slip pad is chipped or broken' + 'Corner metal strip/guard is broken or dangerous': 'Corner metal strip/guard is broken or dangerous' + Graffiti: Graffiti + 'Curb ramp is needed': 'Curb ramp is needed' + '#other__option_label': 'Something else...' + '#other__placeholder': 'Please describe' + '#required': true + markup_continue: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue[radios]"]': + unchecked: true + '#markup': '

Please make a selection to continue.

' + markup_curb_ramp: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue[radios]"]': + value: 'Curb ramp is needed' + '#markup': |- +
+

Next Steps

+ +

Please use the Request an ADA Accommodation service to request a curb ramp.

+ +

Continue

+
+ markup_graffiti: + '#type': markup_stop_sinkhole_or_landslide + '#states': + visible: + ':input[name="report_issue[radios]"]': + value: Graffiti + '#markup': |- +
+

Next Steps

+ +

To ensure the fastest response, please report this through the Report Graffiti service.

+ +

Continue

+
+ container_continue_report: + '#type': container + '#states': + invisible: + - ':input[name="report_issue[radios]"]': + unchecked: true + - or + - ':input[name="report_issue[radios]"]': + value: Graffiti + - or + - ':input[name="report_issue[radios]"]': + value: 'Curb ramp is needed' + report_location: + '#type': portland_location_picker + '#title': Location + '#title_display': none + '#location_address__description': 'Enter the address or intersection nearest to the damage and click Verify. Please zoom in and choose the exact location of the pothole. Try to be as precise as possible.' + '#location_address__required': true + '#place_name__access': false + '#location_details__access': false + '#location_type__access': false + '#location_park_container__access': false + '#location_private_owner__access': false + '#require_city_limits': true + report_time: + '#type': webform_time + '#title': 'Time call received' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + report_description: + '#type': textarea + '#title': 'Description of issue' + '#description': 'Please provide any other details about the damage or location that may be useful.' + report_photo: + '#type': webform_image_file + '#title': Photo + '#description': '

If possible and safe to do so, please include a picture of the damage you are reporting.

' + '#description_display': before + '#file_preview': 'medium:image' + '#max_filesize': '30' + '#file_extensions': 'jpg png jpeg' + '#file_name': 'report_[webform_submission:sid]' + '#sanitize': true + '#max_resolution': 1280x1280 + '#attachment_image_style': webform_report_uploaded_image + section_contact: + '#type': webform_section + '#title': 'Your Contact Information' + contact_name: + '#type': textfield + '#title': Name + '#states': + invisible: + ':input[name="report_damage_type[radios]"]': + value: Pothole + contact_email: + '#type': textfield + '#title': Email + '#description': '

We will use your email to confirm your submission and respond if necessary.

' + '#required': true + '#pattern': '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' + '#pattern_error': 'Please enter a correctly formatted email address, such as myname@example.com.' + contact_phone: + '#type': textfield + '#title': Phone + '#input_mask': '(999) 999-9999' + actions: + '#type': webform_actions + '#title': 'Submit button(s)' +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: { } +variants: { } diff --git a/web/sites/default/config/webform.webform.report_street_or_sidewalk_issue.yml b/web/sites/default/config/webform.webform.report_street_or_sidewalk_issue.yml new file mode 100644 index 0000000000..2e4869c6ba --- /dev/null +++ b/web/sites/default/config/webform.webform.report_street_or_sidewalk_issue.yml @@ -0,0 +1,360 @@ +uuid: 6f54fecf-f473-4268-bcbb-dd536a81e592 +langcode: en +status: open +dependencies: + module: + - portland +third_party_settings: + portland: + disable_demographic_form_prompt: 0 + exclude_from_json: { } +weight: 0 +open: null +close: null +uid: 60 +template: false +archive: false +id: report_street_or_sidewalk_issue +title: 'Report Street or Sidewalk Issue MEGA form' +description: "

This is a directory-style mega form. It does not take submissions itself. It directs users to services based on the type of issue they're trying to report.

" +categories: + - Mega + - 'PBOT MO' + - Report +elements: |- + report_issue: + '#type': radios + '#title': 'What are you trying to report?' + '#options': + 'Pothole or other issue with a road surface or pavement marking': 'Pothole or other issue with a road surface or pavement marking' + 'Traffic/street sign damage or blockage': 'Traffic/street sign damage or blockage' + 'Traffic signal, streetlight, or school beacon issue': 'Traffic signal, streetlight, or school beacon issue' + 'Sidewalk or curb issue': 'Sidewalk or curb issue' + 'Street cleaning': 'Street cleaning' + 'Sewer issue, including clogged storm drains (catchbasins), odors, or backups': 'Sewer issue, including clogged storm drains (catchbasins), odors, or backups' + 'Street flooding': 'Street flooding' + 'Traffic calming device issues, such as problems with a traffic camera, speed bump, island, bollard, planter': 'Traffic calming device issues, such as problems with a traffic camera, speed bump, island, bollard, planter' + 'Tree down blocking roadway': 'Tree down blocking roadway' + 'Parking meter issue': 'Parking meter issue' + 'Trash or debris in roadway': 'Trash or debris in roadway' + 'Bus, MAX, Streetcar stop, rails, or signs': 'Bus, MAX, Streetcar stop, rails, or signs' + 'Something else': 'Something else' + markup_road_surface_jump: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Pothole or other issue with a road surface or pavement marking' + '#markup': '

Continue

' + markup_traffic_sign_jump: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Traffic/street sign damage or blockage' + '#markup': '

Continue

' + markup_ssl_jump: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Traffic signal, streetlight, or school beacon issue' + '#markup': '

Continue

' + markup_sidewalk_jump: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Sidewalk or curb issue' + '#markup': '

Continue

' + markup_street_cleaning: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Street cleaning' + '#markup': |- +
+

Information

+ +

Due to ongoing budget cuts, PBOT suspended all residential street sweeping June 30, 2023. Daytime crews are now assigned different work. This will not affect Leaf Day service in the fall which will continue for those living within the boundaries of a Leaf District. 

+ +

Visit the Street Sweeping and Cleaning page to learn more.

+
+ markup_sewer_jump: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Sewer issue, including clogged storm drains (catchbasins), odors, or backups' + '#markup': |- +

For sewer odor complaints, please contact us at 3-1-1 or 311@portlandoregon.gov. All other sewer issues, please use the Continue button to submit a report.

+ +

Continue

+ markup_street_flooding: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Street flooding' + '#markup': |- +
+

Next Steps

+ +

If flooding is covering a sidewalk, causing property damage, or blocking a travel lane and you can't go around it, please contact us at 3-1-1 or 311@portlandoregon.gov.

+ +

Water that is "ponding" in the street and/or traveling against the curb but not a hazard to traffic is not an urgent concern.

+
+ markup_traffic_calming: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Traffic calming device issues, such as problems with a traffic camera, speed bump, island, bollard, planter' + '#markup': '

Continue

' + markup_tree_blocking_roadway: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Tree down blocking roadway' + '#markup': |- +
+

Next Steps

+ +

To report a tree hazard, please contact us at 3-1-1 or 311@portlandoregon.gov.

+
+ markup_parking_meter: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Parking meter issue' + '#markup': '

Continue

' + markup_trash: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Trash or debris in roadway' + '#markup': '

Continue

' + markup_trimet: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Bus, MAX, Streetcar stop, rails, or signs' + '#markup': |- +
+

Next Steps

+ +

To report an issue with a transit stop, rails, or signs, please contact us at 3-1-1 or 311@portlandoregon.gov.

+
+ markup_something_else: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + value: 'Something else' + '#markup': |- +
+

Next Steps

+ +

We need more information to help you report the issue. Please contact us at 3-1-1 or 311@portlandoregon.gov.

+
+ markup_continue: + '#type': webform_markup + '#states': + visible: + ':input[name="report_issue"]': + unchecked: true + '#markup': '

Please make a selection to continue.

' + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#submit_hide': true +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: { } +variants: { } diff --git a/web/sites/default/config/webform.webform.report_street_sidewalk_trash.yml b/web/sites/default/config/webform.webform.report_street_sidewalk_trash.yml new file mode 100644 index 0000000000..e368500015 --- /dev/null +++ b/web/sites/default/config/webform.webform.report_street_sidewalk_trash.yml @@ -0,0 +1,347 @@ +uuid: 13876df1-6a34-49fb-a69b-0eed8583dd73 +langcode: en +status: open +dependencies: + module: + - portland +third_party_settings: + portland: + disable_demographic_form_prompt: 0 + exclude_from_json: { } +weight: 0 +open: null +close: null +uid: 221 +template: false +archive: false +id: report_street_sidewalk_trash +title: 'Report Street or Sidewalk Trash or Debris' +description: '' +categories: + - 'PBOT MO' + - Report +elements: |- + user_role: + '#type': webform_computed_twig + '#title': 'User Role' + '#wrapper_attributes': + class: + - d-none + '#display_on': form + '#mode': text + '#template': "{{ webform_token('[current-user:roles:first]', webform_submission, [], options)|default('anonymous') }}" + '#whitespace': trim + container_nav: + '#type': container + report_is_campsite: + '#type': radios + '#title': 'Is the trash associated with an adjacent campsite?' + '#options': + 'Yes': 'Yes' + 'No': 'No' + markup_campsite_jump: + '#type': webform_markup + '#states': + visible: + ':input[name="report_is_campsite"]': + value: 'Yes' + '#markup': '

Continue

' + report_is_state: + '#type': radios + '#title': 'Is the trash located on an interstate highway such as I-5, I-84, or I-205?' + '#options': + 'Yes': 'Yes' + 'No': 'No' + '#states': + visible: + ':input[name="report_is_campsite"]': + value: 'No' + markup_state: + '#type': webform_markup + '#states': + visible: + ':input[name="report_is_state"]': + value: 'Yes' + '#markup': |- +
+

Next Steps

+ +

If the trash or debris is causing a road hazard, please call the Oregon Department of Transportation’s Dispatch Center at (503) 283-5859. Otherwise, you can report it to the regional Maintenance District at (971) 673-6200.

+
+ report_in_roadway: + '#type': radios + '#title': 'Is the trash or debris in or blocking the roadway?' + '#options': + 'Yes': 'Yes' + 'No': 'No' + '#states': + visible: + ':input[name="report_is_state"]': + value: 'No' + markup_metro_rid: + '#type': webform_markup + '#states': + visible: + - ':input[name="report_in_roadway"]': + value: 'No' + '#markup': |- +
+

Next Steps

+ +

Please report this issue to Metro RID Patrol.

+
+ container_report: + '#type': container + '#states': + visible: + ':input[name="report_in_roadway"]': + value: 'Yes' + report_location: + '#type': portland_location_picker + '#title': 'Location of the trash or debris' + '#location_search__title': Location + '#place_name__access': false + '#location_details__access': false + '#location_details__title': 'Obstruction Details' + '#location_details__help': 'Please tell us as much as you can about how this obstruction is impacting the right-of-way.' + '#location_type__access': false + '#location_private_owner__access': false + report_time: + '#type': webform_time + '#title': 'Time call received' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + report_obstruction_details: + '#type': textarea + '#title': 'Obstruction Details' + '#description': '

Please provide any other details that might help us find and identify the obstruction.

' + '#description_display': before + '#counter_type': character + '#counter_maximum': 400 + report_photo: + '#type': webform_image_file + '#title': 'Photo of Obstruction' + '#file_preview': 'medium:image' + '#max_filesize': '30' + '#file_extensions': 'jpg jpeg png' + '#file_name': 'report_[webform_submission:sid]' + '#sanitize': true + '#max_resolution': 1280x1280 + '#attachment_image_style': webform_report_uploaded_image + section_contact: + '#type': webform_section + '#title': 'Your Contact Information' + contact_name: + '#type': textfield + '#title': Name + contact_email: + '#type': textfield + '#title': Email + '#pattern': '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' + '#pattern_error': 'Please enter a correctly formatted email address, such as myname@example.com.' + section_public_records_statement: + '#type': webform_section + '#title': 'Public Records Statement' + markup_public_records_statement: + '#type': webform_markup + '#markup': '

Information you provide to the City is a public record and may be subject to release under Oregon’s Public Records Law. This law classifies certain information as available to the public on request. See our privacy statement for more information.

' + support_agent_use_only: + '#type': portland_support_agent_widget + '#title': 'Support Agent Use Only' + '#access_create_roles': + - authenticated + '#escalate_issue__access': false + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#states': + visible: + ':input[name="report_in_roadway"]': + value: 'Yes' +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: { } +variants: { } diff --git a/web/sites/default/config/webform.webform.report_streetlight_problem.yml b/web/sites/default/config/webform.webform.report_streetlight_problem.yml new file mode 100644 index 0000000000..a804e81bb4 --- /dev/null +++ b/web/sites/default/config/webform.webform.report_streetlight_problem.yml @@ -0,0 +1,387 @@ +uuid: 9a755aee-c57b-4918-8496-16ec8e0fa21d +langcode: en +status: open +dependencies: + module: + - portland + - portland_zendesk +third_party_settings: + portland: + disable_demographic_form_prompt: 0 + exclude_from_json: { } +weight: 0 +open: null +close: null +uid: 221 +template: false +archive: false +id: report_streetlight_problem +title: 'Report Streetlight, Traffic Signal, or Flashing Beacon Problem' +description: '

Report electrical issues, outages, malfunctions or damage to street lighting, traffic control signals, or flashing crosswalk beacons in the right of way. 

' +categories: + - 'PBOT MO' + - Report +elements: |- + user_role: + '#type': webform_computed_twig + '#title': 'User Role' + '#wrapper_attributes': + style: 'display: none;' + '#mode': text + '#template': "{{ webform_token('[current-user:roles:first]', webform_submission, [], options)|default('anonymous') }}" + '#whitespace': trim + report_asset_type: + '#type': radios + '#title': 'What asset type are you reporting?' + '#description_display': after + '#options': + 'Traffic Signal': 'Traffic Signal -- Lights on poles or wires that help cars and people move safely through intersections.' + 'Pedestrian or bicycle crossing signal': 'Pedestrian or bicycle crossing signal -- A signal that helps pedestrians or cyclists cross streets.' + Streetlight: 'Streetlight -- A tall post with a light on top that lights up the street when it gets dark outside.' + 'Flashing Beacon': 'Flashing Beacon -- A special kind of safety light you might see at a crosswalk or school zone.' + '#required': true + markup_continue: + '#type': webform_markup + '#states': + visible: + ':input[name="report_asset_type"]': + unchecked: true + '#markup': '

Please make a selection to continue.

' + report_signal_issue: + '#type': webform_radios_other + '#title': "What's wrong with the signal?" + '#options': + 'Light is out': 'Light is out' + 'Light is flashing': 'Light is flashing' + 'Pole is damaged or knocked over': 'Pole is damaged or knocked over' + Graffiti: Graffiti + '#states': + visible: + - ':input[name="report_asset_type"]': + value: 'Traffic Signal' + - or + - ':input[name="report_asset_type"]': + value: 'Pedestrian or bicycle crossing signal' + '#required': true + report_streetlight_problem: + '#type': webform_radios_other + '#title': 'What is the issue with the streetlight?' + '#options': + 'Light is out': 'Light is out' + 'Light is flashing on and off': 'Light is flashing on and off' + 'Streetlight is on during the day': 'Streetlight is on during the day' + 'Pole is damaged ': 'Pole is damaged ' + 'Pole/light is knocked over': 'Pole/light is knocked over' + Graffiti: Graffiti + '#required': true + '#states': + visible: + ':input[name="report_asset_type"]': + value: Streetlight + markup_graffiti_jump_button: + '#type': webform_computed_twig + '#title': 'Graffiti Jump Button' + '#title_display': none + '#states': + visible: + - ':input[name="report_signal_issue[radios]"]': + value: Graffiti + - or + - ':input[name="report_streetlight_problem[radios]"]': + value: Graffiti + '#display_on': form + '#mode': html + '#template': | +
+

Information

+ +

To ensure the fastest response, please report this through the Report Graffiti service.

+ +

Continue

+
+ '#whitespace': spaceless + '#ajax': true + container_submit: + '#type': container + '#states': + invisible: + - ':input[name="report_asset_type"]': + unchecked: true + - or + - ':input[name="report_signal_issue[radios]"]': + value: Graffiti + - or + - ':input[name="report_streetlight_problem[radios]"]': + value: Graffiti + report_location: + '#type': portland_location_picker + '#title': Location + '#location_address__required': true + '#place_name__access': false + '#location_details__access': false + '#location_type__access': false + '#location_park_container__access': false + '#location_private_owner__access': false + report_time: + '#type': webform_time + '#title': 'Time call received' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + container_streetlight_report: + '#type': container + '#states': + visible: + ':input[name="report_asset_type"]': + value: Streetlight + ':input[name="report_streetlight_problem[radios]"]': + '!value': Graffiti + markup_pole_tag_info: + '#type': webform_markup + '#markup': 'Map and Pole numbers are found on the Pole Tag. A Pole Tag is a three inch round metal plate on the Street Light pole located at about eye level (NOTE: There may not be a Pole Tag).' + report_map_number: + '#type': textfield + '#title': 'Map Number' + report_pole_number: + '#type': textfield + '#title': 'Pole Number' + report_description: + '#type': textarea + '#title': 'Issue Description' + report_photo: + '#type': webform_image_file + '#title': Photo + '#multiple': 4 + '#file_preview': name + '#max_filesize': '30' + '#file_extensions': 'jpg png svg jpeg' + '#file_name': 'report_[webform_submission:sid]' + '#sanitize': true + '#max_resolution': 1280x1280 + '#attachment_image_style': webform_report_uploaded_image + section_contact: + '#type': webform_section + '#title': 'Your Contact Information' + contact_name: + '#type': textfield + '#title': Name + contact_email: + '#type': textfield + '#title': Email + '#description': 'We will use your email to confirm your submission and respond if necessary.' + '#input_mask': "'alias': 'email'" + '#required': true + actions: + '#type': webform_actions + '#title': 'Submit button(s)' +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: 'Thank you for your report.' + confirmation_attributes: { } + confirmation_back: false + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: + zendesk_new_request: + id: zendesk + handler_id: zendesk_new_request + label: 'Zendesk new request' + notes: '' + status: true + conditions: { } + weight: 0 + settings: + requester_name: contact_name + requester_email: contact_email + subject: 'SSL Report ([webform_submission:values:report_asset_type])' + comment: '[webform_submission:values:html]' + tags: 'drupal webform' + priority: normal + status: new + group_id: '16142480481559' + assignee_id: '' + type: problem + collaborators: '' + custom_fields: '' + ticket_id_field: '' + ticket_form_id: '' + recipient: '' + ticket_fork_field: '' +variants: { } diff --git a/web/sites/default/config/webform.webform.report_traffic_calming_issue.yml b/web/sites/default/config/webform.webform.report_traffic_calming_issue.yml new file mode 100644 index 0000000000..c321dd5499 --- /dev/null +++ b/web/sites/default/config/webform.webform.report_traffic_calming_issue.yml @@ -0,0 +1,323 @@ +uuid: b093a02f-b407-4fa4-8832-c3ac657df52f +langcode: en +status: open +dependencies: + module: + - portland +third_party_settings: + portland: + disable_demographic_form_prompt: 0 + exclude_from_json: { } +weight: 0 +open: null +close: null +uid: 221 +template: false +archive: false +id: report_traffic_calming_issue +title: 'Report Traffic Calming Device Issue' +description: '' +categories: + - 'PBOT MO' + - Report +elements: |- + user_role: + '#type': webform_computed_twig + '#title': 'User Role' + '#wrapper_attributes': + style: 'display: none;' + '#mode': text + '#template': "{{ webform_token('[current-user:roles:first]', webform_submission, [], options)|default('anonymous') }}" + '#whitespace': trim + report_asset_type: + '#type': radios + '#title': 'What type of asset are you reporting?' + '#options': + 'Speed bump or speed hump': 'Speed bump or speed hump' + 'Cushions after snow and ice': 'Cushions after snow and ice' + 'Concrete island or diverter': 'Concrete island or diverter' + Bollard: Bollard + Planter: Planter + markup_continue: + '#type': webform_markup + '#states': + visible: + ':input[name="report_asset_type"]': + unchecked: true + '#markup': '

Please make a selection to continue.

' + markup_row_signs: + '#type': webform_markup + '#states': + visible: + ':input[name="user_role"]': + value: anonymous + ':input[name="report_asset_type"]': + value: + pattern: 'Cushions after snow and ice|Bollard' + '#markup': |- +
+

Next Steps

+ +

This type of issue is considered urgent. To ensure a fast response, please call PBOT's 24/7 maintenance dispatch line at 503-823-1700 to speak with a representative about it.

+
+ container_submit: + '#type': container + '#states': + invisible: + - ':input[name="user_role"]': + value: anonymous + ':input[name="report_asset_type"]': + value: + pattern: 'Cushions after snow and ice|Bollard' + - or + - ':input[name="report_asset_type"]': + unchecked: true + report_location: + '#type': portland_location_picker + '#title': 'Location of the traffic calming device' + '#location_search__title': Location + '#place_name__access': false + '#location_details__access': false + '#location_details__title': 'Asset Details' + '#location_details__help': 'Please tell us as much as you can so we can better identify the asset.' + '#location_type__access': false + '#location_private_owner__access': false + report_time: + '#type': webform_time + '#title': 'Time call received' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + report_issue_details: + '#type': textarea + '#title': 'Issue Details' + '#description': '

Please provide any other details that might help us find and identify the issue.

' + '#description_display': before + '#counter_type': character + '#counter_maximum': 400 + report_photo: + '#type': webform_image_file + '#title': 'Photo of issue' + '#file_preview': 'medium:image' + '#max_filesize': '30' + '#file_extensions': 'jpg jpeg png' + '#file_name': 'report_[webform_submission:sid]' + '#sanitize': true + '#max_resolution': 1280x1280 + '#attachment_image_style': webform_report_uploaded_image + section_contact: + '#type': webform_section + '#title': 'Your Contact Information' + contact_name: + '#type': textfield + '#title': Name + contact_email: + '#type': textfield + '#title': Email + '#pattern': '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' + '#pattern_error': 'Please enter a correctly formatted email address, such as myname@example.com.' + section_public_records_statement: + '#type': webform_section + '#title': 'Public Records Statement' + markup_public_records_statement: + '#type': webform_markup + '#markup': '

Information you provide to the City is a public record and may be subject to release under Oregon’s Public Records Law. This law classifies certain information as available to the public on request. See our privacy statement for more information.

' + support_agent_use_only: + '#type': portland_support_agent_widget + '#title': 'Support Agent Use Only' + '#access_create_roles': + - authenticated + '#escalate_issue__access': false + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#states': + visible: + ':input[name="report_in_roadway"]': + value: 'Yes' +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: { } +variants: { } diff --git a/web/sites/default/config/webform.webform.report_traffic_sign_damage.yml b/web/sites/default/config/webform.webform.report_traffic_sign_damage.yml new file mode 100644 index 0000000000..b64923a23e --- /dev/null +++ b/web/sites/default/config/webform.webform.report_traffic_sign_damage.yml @@ -0,0 +1,378 @@ +uuid: 832bf06e-6970-4f3a-bd5a-0e85cfccf6c5 +langcode: en +status: open +dependencies: { } +weight: 0 +open: null +close: null +uid: 60 +template: false +archive: false +id: report_traffic_sign_damage +title: 'Report Traffic or Street Sign Damage' +description: '' +categories: + - 'PBOT MO' + - Report +elements: |- + user_role: + '#type': webform_computed_twig + '#title': 'User Role' + '#wrapper_attributes': + class: + - d-none + '#display_on': form + '#mode': text + '#template': "{{ webform_token('[current-user:roles:first]', webform_submission, [], options)|default('anonymous') }}" + '#whitespace': trim + report_sign_type: + '#type': webform_radios_other + '#title': 'What color/kind of sign?' + '#options': + 'Red: Regulatory': 'Red: Regulatory -- Examples: STOP, YIELD, DO NOT ENTER' + 'White: Regulatory': 'White: Regulatory -- Examples: SPEED LIMIT, ONE WAY, NO TURN, NO PARKING' + 'Yellow: Warning': 'Yellow: Warning -- Examples: NO OUTLET, CURVE AHEAD, LOW CLEARANCE' + 'Green: Street name': 'Green: Street name -- Examples: SE 38TH AVE or N INTERSTATE BLVD' + 'Blue: Motorist services': 'Blue: Motorist services -- Examples: HOSPITAL, DISABLED ACCESS, SCENIC OVERLOOK' + 'Orange: Temporary traffic control': 'Orange: Temporary traffic control -- Examples: WORKERS AHEAD, DETOUR, ROAD WORK' + '#other__option_label': 'Something else...' + '#other__placeholder': 'Please describe' + '#required': true + markup_continue: + '#type': webform_markup + '#states': + visible: + ':input[name="report_sign_type[radios]"]': + unchecked: true + '#markup': '

Please make a selection to continue.

' + container_continue_report: + '#type': container + '#states': + visible: + ':input[name="report_sign_type[radios]"]': + checked: true + report_damage_type: + '#type': webform_radios_other + '#title': 'What type of damage has been done?' + '#options': + 'Damaged or knocked over': 'Damaged or knocked over' + 'Sign is missing': 'Sign is missing' + 'Twisted or turned the wrong direction': 'Twisted or turned the wrong direction' + 'Lettering or markings not readable': 'Lettering or markings not readable' + 'Blocked by vegetation': 'Blocked by vegetation' + Graffiti: Graffiti + '#required': true + markup_graffiti: + '#type': webform_markup + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + value: Graffiti + '#markup': |- +
+

Next Steps

+ +

To ensure the fastest response, please report this through the Report Graffiti service.

+ +

Continue

+
+ report_safety_hazard: + '#type': radios + '#title': 'Is it blocking the street or sidewalk, or causing an immediate safety hazard?' + '#options': yes_no + '#options_display': side_by_side + '#required': true + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + value: 'Damaged or knocked over' + report_overhead: + '#type': radios + '#title': 'Is the sign on an overhead arm crossing over the street/above traffic? ' + '#options': yes_no + '#options_display': side_by_side + '#required': true + '#states': + visible: + ':input[name="report_damage_type[radios]"]': + value: 'Damaged or knocked over' + container_submit_report: + '#type': container + '#states': + invisible: + ':input[name="report_damage_type[radios]"]': + value: Graffiti + '#states_clear': false + report_location: + '#type': portland_location_picker + '#title': 'Location of damage' + '#location_type__access': false + '#location_park_container__access': false + '#location_private_owner__access': false + '#location_address__description': 'Enter the address or intersection nearest to the damage and click Verify. Please zoom in and choose the exact location of the pothole. Try to be as precise as possible.' + '#location_address__required': true + '#place_name__access': false + '#location_details__access': false + '#require_city_limits': true + report_time: + '#type': webform_time + '#title': 'Time call received' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + report_description: + '#type': textarea + '#title': 'Description of issue' + '#description': 'Please provide any other details about the damage or location that may be useful.' + report_has_photo: + '#type': radios + '#title': 'Do you have a photo?' + '#options': yes_no + '#options_display': side_by_side + '#states': + invisible: + - ':input[name="report_damage_type[radios]"]': + value: Sinkhole + - or + - ':input[name="report_damage_type[radios]"]': + value: Landslide + '#default_value': 'Yes' + report_sign_text: + '#type': textfield + '#title': 'What does the sign say?' + '#states': + visible: + ':input[name="report_has_photo"]': + value: 'No' + report_photo: + '#type': webform_image_file + '#title': Photo + '#description': '

If possible and safe to do so, please include a picture of the damage you are reporting.

' + '#description_display': before + '#states': + invisible: + ':input[name="report_has_photo"]': + value: 'No' + '#file_preview': 'medium:image' + '#max_filesize': '30' + '#file_extensions': 'jpg png jpeg' + '#file_name': 'report_[webform_submission:sid]' + '#sanitize': true + '#max_resolution': 1280x1280 + '#attachment_image_style': webform_report_uploaded_image + section_contact: + '#type': webform_section + '#title': 'Your Contact Information' + contact_name: + '#type': textfield + '#title': Name + '#states': + invisible: + ':input[name="report_damage_type[radios]"]': + value: Pothole + contact_email: + '#type': textfield + '#title': Email + '#description': '

We will use your email to confirm your submission and respond if necessary.

' + '#required': true + '#pattern': '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$' + '#pattern_error': 'Please enter a correctly formatted email address, such as myname@example.com.' + contact_phone: + '#type': textfield + '#title': Phone + '#input_mask': '(999) 999-9999' + actions: + '#type': webform_actions + '#title': 'Submit button(s)' + '#states': + invisible: + ':input[name="user_role"]': + value: anonymous + ':input[name="report_sign_type[radios]"]': + value: 'RED: Stop, Yield, Do Not Enter, or One Way sign' +css: '' +javascript: '' +settings: + ajax: false + ajax_scroll_top: form + ajax_progress_type: '' + ajax_effect: '' + ajax_speed: null + page: true + page_submit_path: '' + page_confirm_path: '' + page_theme_name: '' + form_title: both + form_submit_once: false + form_open_message: '' + form_close_message: '' + form_exception_message: '' + form_previous_submissions: true + form_confidential: false + form_confidential_message: '' + form_disable_remote_addr: false + form_convert_anonymous: false + form_prepopulate: false + form_prepopulate_source_entity: false + form_prepopulate_source_entity_required: false + form_prepopulate_source_entity_type: '' + form_unsaved: false + form_disable_back: false + form_submit_back: false + form_disable_autocomplete: false + form_novalidate: false + form_disable_inline_errors: false + form_required: false + form_autofocus: false + form_details_toggle: false + form_reset: false + form_access_denied: default + form_access_denied_title: '' + form_access_denied_message: '' + form_access_denied_attributes: { } + form_file_limit: '' + form_attributes: { } + form_method: '' + form_action: '' + share: false + share_node: false + share_theme_name: '' + share_title: true + share_page_body_attributes: { } + submission_label: '' + submission_exception_message: '' + submission_locked_message: '' + submission_log: false + submission_excluded_elements: { } + submission_exclude_empty: false + submission_exclude_empty_checkbox: false + submission_views: { } + submission_views_replace: { } + submission_user_columns: { } + submission_user_duplicate: false + submission_access_denied: default + submission_access_denied_title: '' + submission_access_denied_message: '' + submission_access_denied_attributes: { } + previous_submission_message: '' + previous_submissions_message: '' + autofill: false + autofill_message: '' + autofill_excluded_elements: { } + wizard_progress_bar: true + wizard_progress_pages: false + wizard_progress_percentage: false + wizard_progress_link: false + wizard_progress_states: false + wizard_start_label: '' + wizard_preview_link: false + wizard_confirmation: true + wizard_confirmation_label: '' + wizard_auto_forward: true + wizard_auto_forward_hide_next_button: false + wizard_keyboard: true + wizard_track: '' + wizard_prev_button_label: '' + wizard_next_button_label: '' + wizard_toggle: false + wizard_toggle_show_label: '' + wizard_toggle_hide_label: '' + wizard_page_type: container + wizard_page_title_tag: h2 + preview: 0 + preview_label: '' + preview_title: '' + preview_message: '' + preview_attributes: { } + preview_excluded_elements: { } + preview_exclude_empty: true + preview_exclude_empty_checkbox: false + draft: none + draft_multiple: false + draft_auto_save: false + draft_saved_message: '' + draft_loaded_message: '' + draft_pending_single_message: '' + draft_pending_multiple_message: '' + confirmation_type: page + confirmation_url: '' + confirmation_title: '' + confirmation_message: '' + confirmation_attributes: { } + confirmation_back: true + confirmation_back_label: '' + confirmation_back_attributes: { } + confirmation_exclude_query: false + confirmation_exclude_token: false + confirmation_update: false + limit_total: null + limit_total_interval: null + limit_total_message: '' + limit_total_unique: false + limit_user: null + limit_user_interval: null + limit_user_message: '' + limit_user_unique: false + entity_limit_total: null + entity_limit_total_interval: null + entity_limit_user: null + entity_limit_user_interval: null + purge: none + purge_days: null + results_disabled: false + results_disabled_ignore: false + results_customize: false + token_view: false + token_update: false + token_delete: false + serial_disabled: false +access: + create: + roles: + - anonymous + - authenticated + users: { } + permissions: { } + view_any: + roles: { } + users: { } + permissions: { } + update_any: + roles: { } + users: { } + permissions: { } + delete_any: + roles: { } + users: { } + permissions: { } + purge_any: + roles: { } + users: { } + permissions: { } + view_own: + roles: { } + users: { } + permissions: { } + update_own: + roles: { } + users: { } + permissions: { } + delete_own: + roles: { } + users: { } + permissions: { } + administer: + roles: { } + users: { } + permissions: { } + test: + roles: { } + users: { } + permissions: { } + configuration: + roles: { } + users: { } + permissions: { } +handlers: { } +variants: { }