Skip to content

Commit

Permalink
Merge pull request usdoj#549 from brockfanning/foia-389-fbi-signature…
Browse files Browse the repository at this point in the history
…-fields

FOIA-389: Signature fields for FBI form.
  • Loading branch information
brockfanning authored Sep 13, 2023
2 parents d9fb43e + 1302b44 commit d923b81
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions config/default/webform.webform.doj_fbi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d923b81

Please sign in to comment.