From 1302b44de1dd63c3a53847a3fba65df8f3e3bd69 Mon Sep 17 00:00:00 2001 From: Brock Fanning Date: Wed, 13 Sep 2023 14:33:22 +0000 Subject: [PATCH] FOIA-389: Signature fields for FBI form. --- config/default/webform.webform.doj_fbi.yml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/config/default/webform.webform.doj_fbi.yml b/config/default/webform.webform.doj_fbi.yml index d73bedb64..7b4522f18 100644 --- a/config/default/webform.webform.doj_fbi.yml +++ b/config/default/webform.webform.doj_fbi.yml @@ -271,6 +271,52 @@ elements: |- visible: ':input[name="fbi_request_subject"]': value: deceased + fbi_citizen_dob: + '#type': textfield + '#title': 'Date of birth' + '#pattern': '(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01])\/(19|20)\d\d' + '#pattern_error': 'Please use the date format: MM/DD/YYYY' + '#states': + required: + ':input[name="fbi_citizen"]': + value: 'yes' + visible: + ':input[name="fbi_citizen"]': + value: 'yes' + fbi_citizen_confirm: + '#type': select + '#title': 'By providing an electronic signature below I declare under penalty of perjury under the laws of the United States of America that the foregoing is true and correct, and that I am the person named above, and I understand that any falsification of this statement is punishable under the provisions of 18 U.S.C. Section 1001 by a fine of not more than $10,000 or by imprisonment of not more than five years or both, and that requesting or obtaining any record(s) under false pretenses is punishable under the provisions of 5 U.S.C. Section 552(a)(3) by a fine of not more than $5,000.' + '#options': + 'yes': 'I agree' + '#states': + required: + ':input[name="fbi_citizen"]': + value: 'yes' + visible: + ':input[name="fbi_citizen"]': + value: 'yes' + fbi_citizen_signature: + '#type': textfield + '#title': 'Signature (typed)' + '#states': + required: + ':input[name="fbi_citizen"]': + value: 'yes' + visible: + ':input[name="fbi_citizen"]': + value: 'yes' + fbi_citizen_today: + '#type': textfield + '#title': 'Today''s date' + '#pattern': '(0[1-9]|1[012])\/(0[1-9]|[12][0-9]|3[01])\/(19|20)\d\d' + '#pattern_error': 'Please use the date format: MM/DD/YYYY' + '#states': + required: + ':input[name="fbi_citizen"]': + value: 'yes' + visible: + ':input[name="fbi_citizen"]': + value: 'yes' css: '' javascript: '' settings: