Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIT-1074 Title II Compliance | Form 2.0 (Staff Input) #2792

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,21 @@ title: 'A.D.A. Accommodation Request'
description: ''
categories: { }
elements: |-
request_proxy:
'#type': radios
'#title': 'Who is completing this form?'
'#options':
'I am a 311 agent or City staff member doing intake only': 'I am a 311 agent or City staff member doing intake only'
'I am the City staff member who will be handling this request': 'I am the City staff member who will be handling this request'
'#access_create_roles':
- authenticated
markup_proxy:
'#type': webform_markup
'#states':
visible:
':input[name="request_proxy"]':
checked: true
'#markup': '<div class="webform-alert alert alert--warning"><h2>Attention</h2><p class="mb-0">Please read the following questions to the community member as if you''re filling out the form as their proxy.</p></div>'
request_how:
'#type': radios
'#title': 'How would you like to make your request?'
Expand All @@ -30,12 +45,19 @@ elements: |-
'I would like to call the City': 'I would like to contact the City by phone or TTY'
'I will continue with the online form': 'I will continue with the online form'
'#required': true
'#states':
invisible:
':input[name="request_proxy"]':
checked: true
markup_continue:
'#type': webform_markup
'#states':
visible:
':input[name="request_how"]':
unchecked: true
invisible:
- ':input[name="request_proxy"]':
checked: true
- or
- ':input[name="request_how"]':
checked: true
'#markup': '<p class="mt-5"><strong>Please make a selection to continue.</strong></p>'
request_call_city_text_stop:
'#type': webform_markup
Expand All @@ -53,8 +75,11 @@ elements: |-
'#type': container
'#states':
visible:
':input[name="request_how"]':
value: 'I will continue with the online form'
- ':input[name="request_how"]':
value: 'I will continue with the online form'
- or
- ':input[name="request_proxy"]':
checked: true
request_who:
'#type': radios
'#title': 'Who are you making this request or complaint for?'
Expand Down Expand Up @@ -131,11 +156,14 @@ elements: |-
'#type': container
'#states':
visible:
':input[name="request_who"]':
value:
pattern: 'Myself|Someone else'
':input[name="request_on_behalf_of_permission"]':
'!value': 'No'
- ':input[name="request_who"]':
value:
pattern: 'Myself|Someone else'
- or
- ':input[name="request_on_behalf_of_permission"]':
'!value': 'No'
':input[name="request_is_staff"]':
checked: true
container_confidentiality:
'#type': webform_section
'#title': Confidentiality
Expand Down