From 95fb8a63bfea70d6811fe1390417e98f43d7e846 Mon Sep 17 00:00:00 2001 From: Robert Ristroph Date: Tue, 9 Jun 2026 16:16:12 +0000 Subject: [PATCH 1/5] Revert "WS-527: Add 1st/3d party logic to doj_opatty webform." This reverts commit 769405559df3cf8bdcca12603f530f495fcca950. --- config/default/webform.webform.doj_opatty.yml | 106 +----------------- 1 file changed, 4 insertions(+), 102 deletions(-) diff --git a/config/default/webform.webform.doj_opatty.yml b/config/default/webform.webform.doj_opatty.yml index 6852c1338..7becb3a9a 100644 --- a/config/default/webform.webform.doj_opatty.yml +++ b/config/default/webform.webform.doj_opatty.yml @@ -14,7 +14,7 @@ id: doj_opatty title: DOJ-OPATTY description: '' categories: { } -elements: |- +elements: | name_first: '#type': textfield '#title': 'First name' @@ -27,9 +27,7 @@ elements: |- email: '#type': email '#title': 'Email address' - '#help': |- - In order for us to communicate with you about your request,
- you must provide at least one form of contact information. + '#help': "In order for us to communicate with you about your request,
\nyou must provide at least one form of contact information." phone_number: '#type': tel '#title': 'Phone number' @@ -56,13 +54,6 @@ elements: |- '#title': Country '#default_value': 'United States' '#options': country_names - request_subject: - '#type': radios - '#title': 'What is the subject of your request?' - '#options': - myself: Myself - other: 'All Other Subjects' - '#required': true request_category: '#type': select '#title': 'What type of requester are you?' @@ -77,7 +68,7 @@ elements: |- '#type': textarea '#maxlength': 10000 '#title': 'Your request' - '#help': "A brief and clear description of the information you'd like to receive. Please be as specific as possible." + '#help': 'A brief and clear description of the information you''d like to receive. Please be as specific as possible.' '#required': true fee_waiver: '#type': select @@ -110,99 +101,10 @@ elements: |- '#maxlength': 10000 '#title': 'Justification for expedited processing' '#help': 'Leave this blank if you are not requesting expedited processing. When making a request for expedited processing you must explain how your request meets one of the expedition standards described above.  This agency has additional criteria for expedited processing detailed at 28 C.F.R. § 16.5(e).' - myself_name_first: - '#type': textfield - '#title': "First Party's First Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_name_middle: - '#type': textfield - '#title': "First Party's Middle Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_name_last: - '#type': textfield - '#title': "First Party's Last Name" - '#maxlength': 255 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_social_security_number: - '#type': textfield - '#title': "First Party's Social Security Number" - '#pattern': '^(?!666|000|9\d{2})\d{3}-(?!00)\d{2}-(?!0{4})\d{4}$' - '#pattern_error': 'Social Security Number must be entered in XXX-XX-XXXX format.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_alien_registration_number: - '#type': textfield - '#title': "First Party's Alien Registration Number" - '#maxlength': 30 - '#pattern': '^[a-zA-Z0-9]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_place_of_birth: - '#type': textfield - '#title': "First Party's Place of Birth" - '#maxlength': 100 - '#required': true - '#pattern': '^[a-zA-Z0-9 ]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_date_of_birth: - '#type': textfield - '#title': "First Party's Date of Birth" - '#pattern': '(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01])\/(17|18|19|20)\d\d' - '#pattern_error': 'Please use the date format: MM/DD/YYYY' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_additional_information: - '#type': textarea - '#title': "First Party's Additional Information" - '#description': '

Provide additional information about the subject of your request. Please provide as much information as possible.

' - '#maxlength': 4000 - '#states': - visible: - ':input[name="request_subject"]': - value: myself attachments_supporting_documentation: '#type': managed_file '#title': 'Upload additional documentation' - '#help': |- - If you are seeking records about yourself, additional documentation
- is required to verify your identity. 28 C.F.R. § 16.3(a)(3). You can use this form to verify your identity. + '#help': "If you are seeking records about yourself, additional documentation
\nis required to verify your identity. 28 C.F.R. § 16.3(a)(3). You can use this form to verify your identity." '#multiple': true privacy_act_statement: '#type': processed_text From 47c9dad239f66ff23b9bf739cc92a27bcecd7085 Mon Sep 17 00:00:00 2001 From: Robert Ristroph Date: Tue, 9 Jun 2026 16:18:45 +0000 Subject: [PATCH 2/5] Revert "WS-527: Add 1st/3d party logic to doj_civil webform." This reverts commit 626b93856316dd572fac68aa0d151b045e18537f. --- config/default/webform.webform.doj_civil.yml | 115 +------------------ 1 file changed, 5 insertions(+), 110 deletions(-) diff --git a/config/default/webform.webform.doj_civil.yml b/config/default/webform.webform.doj_civil.yml index da385f241..61e05cd2f 100644 --- a/config/default/webform.webform.doj_civil.yml +++ b/config/default/webform.webform.doj_civil.yml @@ -14,7 +14,7 @@ id: doj_civil title: DOJ-Civil description: '' categories: { } -elements: |- +elements: | name_first: '#type': textfield '#title': 'First name' @@ -27,9 +27,7 @@ elements: |- email: '#type': email '#title': 'Email address' - '#help': |- - In order for us to communicate with you about your request,
- you must provide at least one form of contact information. + '#help': "In order for us to communicate with you about your request,
\nyou must provide at least one form of contact information." phone_number: '#type': tel '#title': 'Phone number' @@ -56,13 +54,6 @@ elements: |- '#title': Country '#default_value': 'United States' '#options': country_names - request_subject: - '#type': radios - '#title': 'What is the subject of your request?' - '#options': - myself: Myself - other: 'All Other Subjects' - '#required': true request_category: '#type': select '#title': 'What type of requester are you?' @@ -77,7 +68,7 @@ elements: |- '#type': textarea '#maxlength': 10000 '#title': 'Your request' - '#help': "A brief and clear description of the information you'd like to receive. Please be as specific as possible." + '#help': 'A brief and clear description of the information you''d like to receive. Please be as specific as possible.' '#required': true fee_waiver: '#type': select @@ -110,112 +101,16 @@ elements: |- '#maxlength': 10000 '#title': 'Justification for expedited processing' '#help': 'Leave this blank if you are not requesting expedited processing. When making a request for expedited processing you must explain how your request meets one of the expedition standards described above.  This agency has additional criteria for expedited processing detailed at 28 C.F.R. § 16.5(e).' - myself_name_first: - '#type': textfield - '#title': "First Party's First Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_name_middle: - '#type': textfield - '#title': "First Party's Middle Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_name_last: - '#type': textfield - '#title': "First Party's Last Name" - '#maxlength': 255 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_social_security_number: - '#type': textfield - '#title': "First Party's Social Security Number" - '#pattern': '^(?!666|000|9\d{2})\d{3}-(?!00)\d{2}-(?!0{4})\d{4}$' - '#pattern_error': 'Social Security Number must be entered in XXX-XX-XXXX format.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_alien_registration_number: - '#type': textfield - '#title': "First Party's Alien Registration Number" - '#maxlength': 30 - '#pattern': '^[a-zA-Z0-9]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_place_of_birth: - '#type': textfield - '#title': "First Party's Place of Birth" - '#maxlength': 100 - '#required': true - '#pattern': '^[a-zA-Z0-9 ]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_date_of_birth: - '#type': textfield - '#title': "First Party's Date of Birth" - '#pattern': '(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01])\/(17|18|19|20)\d\d' - '#pattern_error': 'Please use the date format: MM/DD/YYYY' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_additional_information: - '#type': textarea - '#title': "First Party's Additional Information" - '#description': '

Provide additional information about the subject of your request. Please provide as much information as possible.

' - '#maxlength': 4000 - '#states': - visible: - ':input[name="request_subject"]': - value: myself attachments_supporting_documentation: '#type': managed_file '#title': 'Upload additional documentation' - '#help': |- - If you are seeking records about yourself, additional documentation
- is required to verify your identity. 28 C.F.R. § 16.3(a)(3). You can use this form to verify your identity. + '#help': "If you are seeking records about yourself, additional documentation
\nis required to verify your identity. 28 C.F.R. § 16.3(a)(3). You can use this form to verify your identity." '#multiple': true case_files: '#type': textarea '#maxlength': 10000 '#title': 'Case Files' - '#help': |- - Requests for records from case files must include a case caption or name,
- civil court case number, and judicial district.
- 28 C.F.R. § 16 (Appendix I). - privacy_act_statement: - '#type': processed_text - '#text': '

Privacy Act Statement

In accordance with 28 CFR Section 16.41(d) personal data sufficient to identify the individuals submitting requests by mail under the Privacy Act of 1974, 5 U.S.C. Section 552a, is required. The primary purpose for the collection of the information on this form is to ensure that the records of individuals who are the subject of U.S. Department of Justice systems of records are not wrongfully disclosed by the Department. The authority by which information is collected on this form is 5 U.S.C. § 552 and 5 U.S.C. § 552a(a), as well as 28 CFR Section 16.41(d). Any information you provide may also be disclosed pursuant to a “routine use” under the Privacy Act of 1974, 5 U.S.C. § 552a, listed in a DOJ System of Records Notice, which may include: JUSTICE/DOJ-004 Freedom of Information Act, Privacy Act, and Mandatory Declassification Review Records (CMS) for the Department of Justice, available at https://www.justice.gov/opcl/doj-systems-records#DOJ. Your disclosure of information to the Department of Justice on this form is voluntary. If you do not complete all or some information fields in this form, however, the Department of Justice may not be able to effectively respond to your request. False information on this form may subject the requester to criminal penalties under 18 U.S.C. § 1001 and/or 5 U.S.C. § 552a(i)(3).

 

Public reporting burden for this collection of information is estimated to average 0.50 hours per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Suggestions for reducing this burden may be submitted to the Office of Information and Regulatory Affairs, Office of Management and Budget, Public Use Reports Project (1103-0016), Washington, DC 20503.

' - '#format': email_html + '#help': "Requests for records from case files must include a case caption or name,
\ncivil court case number, and judicial district.
\n28 C.F.R. § 16 (Appendix I)." css: '' javascript: '' settings: From 31bfaa0a7935733588010f8a4bb11ce7db575a55 Mon Sep 17 00:00:00 2001 From: Robert Ristroph Date: Tue, 9 Jun 2026 16:20:17 +0000 Subject: [PATCH 3/5] Revert "WS-527: Add 1st/3d party logic to doj_eoust webform." This reverts commit df4637b291d9ae1c83c70c9c3e47bac194c10af6. --- config/default/webform.webform.doj_eoust.yml | 121 +------------------ 1 file changed, 5 insertions(+), 116 deletions(-) diff --git a/config/default/webform.webform.doj_eoust.yml b/config/default/webform.webform.doj_eoust.yml index 0e9115fea..1e7e09943 100644 --- a/config/default/webform.webform.doj_eoust.yml +++ b/config/default/webform.webform.doj_eoust.yml @@ -14,7 +14,7 @@ id: doj_eoust title: DOJ-EOUST description: '' categories: { } -elements: |- +elements: | name_first: '#type': textfield '#title': 'First name' @@ -27,9 +27,7 @@ elements: |- email: '#type': email '#title': 'Email address' - '#help': |- - In order for us to communicate with you about your request,
- you must provide at least one form of contact information. + '#help': "In order for us to communicate with you about your request,
\nyou must provide at least one form of contact information." phone_number: '#type': tel '#title': 'Phone number' @@ -56,13 +54,6 @@ elements: |- '#title': Country '#default_value': 'United States' '#options': country_names - request_subject: - '#type': radios - '#title': 'What is the subject of your request?' - '#options': - myself: Myself - other: 'All Other Subjects' - '#required': true request_category: '#type': select '#title': 'What type of requester are you?' @@ -77,14 +68,8 @@ elements: |- '#type': textarea '#maxlength': 10000 '#title': 'Your request' - '#help': "A brief and clear description of the information you'd like to receive. Please be as specific as possible." + '#help': 'A brief and clear description of the information you''d like to receive. Please be as specific as possible.' '#required': true - requester_type: - '#type': radios - '#title': 'I am making this request on behalf of' - '#options': - myself: Myself - organization: 'A Designee' fee_waiver: '#type': select '#title': 'Fee waiver' @@ -116,112 +101,16 @@ elements: |- '#maxlength': 10000 '#title': 'Justification for expedited processing' '#help': 'Leave this blank if you are not requesting expedited processing. When making a request for expedited processing you must explain how your request meets one of the expedition standards described above.  This agency has additional criteria for expedited processing detailed at 28 C.F.R. § 16.5(e).' - myself_name_first: - '#type': textfield - '#title': "First Party's First Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_name_middle: - '#type': textfield - '#title': "First Party's Middle Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_name_last: - '#type': textfield - '#title': "First Party's Last Name" - '#maxlength': 255 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_social_security_number: - '#type': textfield - '#title': "First Party's Social Security Number" - '#pattern': '^(?!666|000|9\d{2})\d{3}-(?!00)\d{2}-(?!0{4})\d{4}$' - '#pattern_error': 'Social Security Number must be entered in XXX-XX-XXXX format.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_alien_registration_number: - '#type': textfield - '#title': "First Party's Alien Registration Number" - '#maxlength': 30 - '#pattern': '^[a-zA-Z0-9]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_place_of_birth: - '#type': textfield - '#title': "First Party's Place of Birth" - '#maxlength': 100 - '#required': true - '#pattern': '^[a-zA-Z0-9 ]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_date_of_birth: - '#type': textfield - '#title': "First Party's Date of Birth" - '#pattern': '(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01])\/(17|18|19|20)\d\d' - '#pattern_error': 'Please use the date format: MM/DD/YYYY' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_additional_information: - '#type': textarea - '#title': "First Party's Additional Information" - '#description': '

Provide additional information about the subject of your request. Please provide as much information as possible.

' - '#maxlength': 4000 - '#states': - visible: - ':input[name="request_subject"]': - value: myself attachments_supporting_documentation: '#type': managed_file '#title': 'Upload additional documentation' - '#help': |- - If you are seeking records about yourself, additional documentation
- is required to verify your identity. 28 C.F.R. § 16.3(a)(3). You can use this form to verify your identity. + '#help': "If you are seeking records about yourself, additional documentation
\nis required to verify your identity. 28 C.F.R. § 16.3(a)(3). You can use this form to verify your identity." '#multiple': true case_files: '#type': textarea '#maxlength': 10000 '#title': 'Case Files' - '#help': |- - Requests for records from bankruptcy case files must include
- a case caption or name, case number, and judicial district.
- 28 C.F.R. § 16 (Appendix I). - privacy_act_statement: - '#type': processed_text - '#text': '

Privacy Act Statement

In accordance with 28 CFR Section 16.41(d) personal data sufficient to identify the individuals submitting requests by mail under the Privacy Act of 1974, 5 U.S.C. Section 552a, is required. The primary purpose for the collection of the information on this form is to ensure that the records of individuals who are the subject of U.S. Department of Justice systems of records are not wrongfully disclosed by the Department. The authority by which information is collected on this form is 5 U.S.C. § 552 and 5 U.S.C. § 552a(a), as well as 28 CFR Section 16.41(d). Any information you provide may also be disclosed pursuant to a “routine use” under the Privacy Act of 1974, 5 U.S.C. § 552a, listed in a DOJ System of Records Notice, which may include: JUSTICE/DOJ-004 Freedom of Information Act, Privacy Act, and Mandatory Declassification Review Records (CMS) for the Department of Justice, available at https://www.justice.gov/opcl/doj-systems-records#DOJ. Your disclosure of information to the Department of Justice on this form is voluntary. If you do not complete all or some information fields in this form, however, the Department of Justice may not be able to effectively respond to your request. False information on this form may subject the requester to criminal penalties under 18 U.S.C. § 1001 and/or 5 U.S.C. § 552a(i)(3).

 

Public reporting burden for this collection of information is estimated to average 0.50 hours per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Suggestions for reducing this burden may be submitted to the Office of Information and Regulatory Affairs, Office of Management and Budget, Public Use Reports Project (1103-0016), Washington, DC 20503.

' - '#format': email_html + '#help': "Requests for records from bankruptcy case files must include
\na case caption or name, case number, and judicial district.
\n28 C.F.R. § 16 (Appendix I)." css: '' javascript: '' settings: From a03010d81288cdcc8e61be8c1fa0c810fe1b8545 Mon Sep 17 00:00:00 2001 From: Robert Ristroph Date: Tue, 9 Jun 2026 16:21:39 +0000 Subject: [PATCH 4/5] Revert "WS-527: More updated to state webform." This reverts commit e8d50e7341463fff78112b35e420487e27c141cc. --- config/default/webform.webform.state_form.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config/default/webform.webform.state_form.yml b/config/default/webform.webform.state_form.yml index 03b7492b0..b99260262 100644 --- a/config/default/webform.webform.state_form.yml +++ b/config/default/webform.webform.state_form.yml @@ -83,6 +83,7 @@ elements: |- '#options': myself: Myself organization: 'A Designee' + '#required': true fee_waiver: '#type': select '#title': 'Fee waiver' @@ -173,7 +174,6 @@ elements: |- '#type': textfield '#title': "First Party's Place of Birth" '#maxlength': 100 - '#required': true '#pattern': '^[a-zA-Z0-9 ]*$' '#pattern_error': 'Please use only letters and numbers.' '#states': @@ -195,7 +195,7 @@ elements: |- myself_additional_information: '#type': textarea '#title': "First Party's Additional Information" - '#description': '

Provide additional information about the subject of your request. Please provide as much information as possible.

' + '#description': 'Provide additional information about the subject of your request. Please provide as much information as possible.' '#maxlength': 4000 '#states': visible: @@ -206,10 +206,11 @@ elements: |- '#title': 'Upload additional documentation' '#help': 'If you are seeking records about yourself, additional documentation is recommended to verify your identity. 22 C.F.R. § 171.11(n)(2).' '#multiple': true - privacy_act_statement: - '#type': processed_text - '#text': '

Privacy Act Statement

In accordance with 28 CFR Section 16.41(d) personal data sufficient to identify the individuals submitting requests by mail under the Privacy Act of 1974, 5 U.S.C. Section 552a, is required. The primary purpose for the collection of the information on this form is to ensure that the records of individuals who are the subject of U.S. Department of Justice systems of records are not wrongfully disclosed by the Department. The authority by which information is collected on this form is 5 U.S.C. § 552 and 5 U.S.C. § 552a(a), as well as 28 CFR Section 16.41(d). Any information you provide may also be disclosed pursuant to a “routine use” under the Privacy Act of 1974, 5 U.S.C. § 552a, listed in a DOJ System of Records Notice, which may include: JUSTICE/DOJ-004 Freedom of Information Act, Privacy Act, and Mandatory Declassification Review Records (CMS) for the Department of Justice, available at https://www.justice.gov/opcl/doj-systems-records#DOJ. Your disclosure of information to the Department of Justice on this form is voluntary. If you do not complete all or some information fields in this form, however, the Department of Justice may not be able to effectively respond to your request. False information on this form may subject the requester to criminal penalties under 18 U.S.C. § 1001 and/or 5 U.S.C. § 552a(i)(3).

 

Public reporting burden for this collection of information is estimated to average 0.50 hours per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Suggestions for reducing this burden may be submitted to the Office of Information and Regulatory Affairs, Office of Management and Budget, Public Use Reports Project (1103-0016), Washington, DC 20503.

' - '#format': email_html + requests_for_visa_information: + '#type': textarea + '#maxlength': 10000 + '#title': 'Requests for visa information' + '#help': '

In order to provide more information to requesters seeking visa records, the following information should be provided with the FOIA request for both the petitioner and the beneficiary: full name, as well as any aliases used; current address; date and place of birth (including city, state, and country); the type of visa (immigrant or non-immigrant); the country and Foreign Service post where the visa application was made; when the visa application was made; and whether the visa application was granted or denied; and if denied, on what grounds. 22 C.F.R. § 171.11(n)(2).

' css: '' javascript: '' settings: From dd1f6de30004fcc18ebff83e98989ff4b4d805df Mon Sep 17 00:00:00 2001 From: Robert Ristroph Date: Tue, 9 Jun 2026 16:22:01 +0000 Subject: [PATCH 5/5] Revert "WS-527: Updated state webform to have 3d party logic." This reverts commit aa27fcb863d1f024c86c24681655742144a1221b. --- config/default/webform.webform.state_form.yml | 104 +----------------- 1 file changed, 2 insertions(+), 102 deletions(-) diff --git a/config/default/webform.webform.state_form.yml b/config/default/webform.webform.state_form.yml index b99260262..edfc5dc6c 100644 --- a/config/default/webform.webform.state_form.yml +++ b/config/default/webform.webform.state_form.yml @@ -14,7 +14,7 @@ id: state_form title: 'State Form' description: '' categories: { } -elements: |- +elements: | name_first: '#type': textfield '#title': 'First name' @@ -54,13 +54,6 @@ elements: |- '#title': Country '#default_value': 'United States' '#options': country_names - request_subject: - '#type': radios - '#title': 'What is the subject of your request?' - '#options': - myself: Myself - other: 'All Other Subjects' - '#required': true request_category: '#type': select '#title': 'What type of requester are you?' @@ -75,14 +68,7 @@ elements: |- '#type': textarea '#maxlength': 10000 '#title': 'Your request' - '#help': "A brief and clear description of the information you'd like to receive. Please be as specific as possible." - '#required': true - requester_type: - '#type': radios - '#title': 'I am making this request on behalf of' - '#options': - myself: Myself - organization: 'A Designee' + '#help': 'A brief and clear description of the information you''d like to receive. Please be as specific as possible.' '#required': true fee_waiver: '#type': select @@ -115,92 +101,6 @@ elements: |- '#maxlength': 10000 '#title': 'Justification for expedited processing' '#help': 'Leave this blank if you are not requesting expedited processing. When making a request for expedited processing you must explain how your request meets one of the expedition standards described above. This agency has additional standards for expedited processing detailed at 22 C.F.R. § 171.11(f).' - myself_name_first: - '#type': textfield - '#title': "First Party's First Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_name_middle: - '#type': textfield - '#title': "First Party's Middle Name" - '#maxlength': 30 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_name_last: - '#type': textfield - '#title': "First Party's Last Name" - '#maxlength': 255 - '#pattern': '^[a-zA-Z ]+$' - '#pattern_error': 'Please use only alphabetical characters.' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_social_security_number: - '#type': textfield - '#title': "First Party's Social Security Number" - '#pattern': '^(?!666|000|9\d{2})\d{3}-(?!00)\d{2}-(?!0{4})\d{4}$' - '#pattern_error': 'Social Security Number must be entered in XXX-XX-XXXX format.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_alien_registration_number: - '#type': textfield - '#title': "First Party's Alien Registration Number" - '#maxlength': 30 - '#pattern': '^[a-zA-Z0-9]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_place_of_birth: - '#type': textfield - '#title': "First Party's Place of Birth" - '#maxlength': 100 - '#pattern': '^[a-zA-Z0-9 ]*$' - '#pattern_error': 'Please use only letters and numbers.' - '#states': - visible: - ':input[name="request_subject"]': - value: myself - myself_date_of_birth: - '#type': textfield - '#title': "First Party's Date of Birth" - '#pattern': '(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01])\/(17|18|19|20)\d\d' - '#pattern_error': 'Please use the date format: MM/DD/YYYY' - '#states': - required: - ':input[name="request_subject"]': - value: myself - visible: - ':input[name="request_subject"]': - value: myself - myself_additional_information: - '#type': textarea - '#title': "First Party's Additional Information" - '#description': 'Provide additional information about the subject of your request. Please provide as much information as possible.' - '#maxlength': 4000 - '#states': - visible: - ':input[name="request_subject"]': - value: myself attachments_supporting_documentation: '#type': managed_file '#title': 'Upload additional documentation'