{"_id":"64ec94f151fdd034ae66e907","type":"form","tags":[],"owner":"5f9acba5f1b659b9e06350e4","components":[{"label":"Top of Form","columns":[{"components":[{"label":"authorizationToken","key":"authorizationToken","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false,"width":12}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"agencyFormId","key":"agencyFormId","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false,"width":12}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"min/max","persistent":"client-only","calculateServer":true,"trigger":{"init":true,"server":true},"dataSrc":"url","fetch":{"url":"{{ config.PAYGOV_ENV }}/public/api/v1/minmaxamount/{{ data.agencyFormId }}","method":"get","headers":[{"key":"X-Paygov-Authorization-Token","value":"{{ data.authorizationToken }}"}],"forwardHeaders":true,"authenticate":false},"key":"minMax","type":"datasource","input":true,"tableView":false,"hideOnChildrenHidden":false,"width":12}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"hideOnChildrenHidden":false,"key":"topOfForm","type":"columns","input":false,"tableView":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Columns","columns":[{"components":[{"label":"HTML","tag":"img","attrs":[{"attr":"src","value":"{{ config.STATIC_ASSETS_ENV }}/OPM/images/opm_seal.jpg"},{"attr":"alt","value":"United States Office of Personnel Management"},{"attr":"title","value":"United States Office of Personnel Management"}],"refreshOnChange":false,"key":"html","type":"htmlelement","input":false,"tableView":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"key":"columns","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false},{"label":"HTML","tag":"H3","attrs":[{"attr":"","value":""}],"content":"HR Solutions
Staff Acquisition Group Payment Form
 ","refreshOnChange":false,"key":"html","type":"htmlelement","tableView":false,"input":false,"hideOnChildrenHidden":false,"hideLabel":true,"redrawOn":"CompanyDataFromPaygov"},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Pay.gov is a PAYMENT site ONLY, and if paying for OPM/HRS Services, a signed contractual agreement or registration is already in place.

* Required Field
 ","refreshOnChange":true,"key":"html2","type":"htmlelement","tableView":false,"input":false,"hideLabel":true},{"title":"Requesting Agency - Program Office POC Information","collapsible":false,"key":"requestingAgencyProgramOfficePocInformation","type":"panel","label":"Panel","input":false,"tableView":false,"components":[{"label":"Requesting Agency","description":"(Department and Bureau)","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"RequestingAgency","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Agency/Sub Agency Name","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"Agency_SubAgency","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Columns","columns":[{"components":[{"label":"ALC","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^\\d{8}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Invalid Agency Location Code\";"},"key":"AgencyALC","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"hideOnChildrenHidden":false,"key":"columns1","type":"columns","input":false,"tableView":false},{"label":"Requesting Agency POC","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"AgencyPOC","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Columns","columns":[{"components":[{"label":"Requesting Phone","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"if (input === \"\" || input === null || input === undefined) {\r\n valid = true;\r\n} else {\r\n var regEx = /^\\(?\\d{3}\\)?\\s?-?\\d{3}-?\\d{4}$/;\r\n if (!regEx.test(input)) {\r\n valid = \"Invalid Telephone Number\";\r\n } else {\r\n var str = input.replace(/[^\\d]/g, \"\");\r\n var newValue = \"(\"+ str.substr(0,3) + \") \" + str.substr(3,3) + \"-\" + str.substr(6);\r\n if (typeof instance != \"undefined\") {\r\n instance.setValue(newValue);\r\n }\r\n else {\r\n data[component.key] = newValue;\r\n }\r\n valid = true;\r\n }\r\n}"},"key":"AgencyPhone","type":"textfield","input":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Requesting E-mail","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateEmail(input);"},"key":"AgencyEmail","type":"textfield","input":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84253f388e5b14ba3b29","isNew":true}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns2","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"* Requesting Agency Component TAS","refreshOnChange":false,"key":"html1","type":"htmlelement","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"SP","tableView":true,"validate":{"custom":"var regEx = /^\\d{2}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Sub-Level Prefix Code. (00-99)\";"},"key":"TAS_SP","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"ATA","tableView":true,"validate":{"custom":"var regEx = /^\\d{3}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Allocation Transfer Agency Identifier. (000-999)\";"},"key":"TAS_ATA","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"AID","tableView":true,"validate":{"custom":"var regEx = /^\\d{3}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Agency Identifier Code. (000-999)\";","required":true},"key":"TAS_AID","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3},{"components":[{"label":"BPOA","tableView":true,"validate":{"custom":"var regEx = /^\\d{4}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Beginning Period of Availability. (0000-9999)\";"},"key":"TAS_BPOA","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"key":"columns3","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"EPOA","tableView":true,"validate":{"custom":"var regEx = /^\\d{4}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Ending Period of Availability. (0000-9999)\";"},"key":"TAS_EPOA","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"A","tableView":true,"case":"uppercase","validateOn":"blur","validate":{"custom":"var regEx = /^[a-z\\d]$/i;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Availability Type Code. (0-9 or A-Z)\";"},"key":"TAS_A","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"MAIN","tableView":true,"validate":{"custom":"var regEx = /^\\d{4}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Main-Account Code. (0000-9999)\";","required":true},"key":"TAS_MAIN","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3},{"components":[{"label":"SUB","tableView":true,"validate":{"custom":"var regEx = /^\\d{3}$/;\nvalid = (_.isEmpty(input) || regEx.test(input)) ? true : \"Please enter a valid Sub-Account Code. (000-999)\";","required":true},"key":"TAS_SUB","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"key":"columns4","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"URL for Explanation of Component TAS: https://www.fiscal.treasury.gov/fsservices/gov/acctg/cars/factsheet_tas.htm","refreshOnChange":false,"key":"html3","type":"htmlelement","input":false,"tableView":false}]},{"title":"OPM Project Information","collapsible":false,"key":"opmProjectInformation","type":"panel","label":"Panel","input":false,"tableView":false,"components":[{"label":"OPM Project Number","description":"(Provided by your OPM POC)","tableView":true,"case":"uppercase","validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"ProjectNumber","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"OPM POC","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"OPMPointOfContact","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true}]},{"title":"Services Purchased","collapsible":false,"key":"servicesPurchased","type":"panel","label":"Panel","input":false,"tableView":false,"components":[{"label":"Columns","columns":[{"components":[{"label":"Examining","tableView":false,"key":"Examining","type":"checkbox","input":true,"defaultValue":false,"hideOnChildrenHidden":false}],"width":3,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":3},{"components":[{"label":"Training","tableView":false,"key":"Training","type":"checkbox","input":true,"defaultValue":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Test Material Services","tableView":false,"key":"TestMaterialServices","type":"checkbox","input":true,"defaultValue":false,"hideOnChildrenHidden":false}],"size":"md","width":4,"offset":0,"push":0,"pull":0,"currentWidth":4},{"components":[{"label":"Other","tableView":false,"key":"Other","type":"checkbox","input":true,"defaultValue":false,"hideOnChildrenHidden":false}],"size":"md","width":3,"offset":0,"push":0,"pull":0,"currentWidth":3}],"hideOnChildrenHidden":false,"key":"columns5","type":"columns","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"Vacancy ID","tableView":true,"validateOn":"blur","validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":50},"key":"VacancyAnnouncement","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"hideOnChildrenHidden":false},{"label":"Amount Paid","mask":false,"spellcheck":true,"tableView":false,"currency":"USD","inputFormat":"plain","validateOn":"blur","validate":{"required":true,"custom":"if (_.isNil(input)) {\r\n valid = true;\r\n} else {\r\n if (!_.isEmpty(data.minMax)) {\r\n if (input < parseFloat(data.minMax.minAmount)) {\r\n \t valid = \"Your payment is below the allowed amount. Please enter a higher dollar amount.\";\r\n \t } else if (input > parseFloat(data.minMax.maxAmount)) {\r\n \t valid = \"Your payment is above the maximum allowed amount. Please enter a lower dollar amount.\";\r\n \t } else {\r\n \t valid = true;\r\n \t}\r\n\t}\r\n}"},"key":"RemittanceNetAmount","type":"currency","input":true,"delimiter":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"hideOnChildrenHidden":false,"key":"columns6","type":"columns","input":false,"tableView":false}]},{"label":"Additional Information","description":"(if applicable)","autoExpand":false,"showCharCount":true,"tableView":true,"validateOn":"blur","validate":{"custom":"valid = pgFormioGlobal().validateTextArea(input);","maxLength":1000},"key":"AdditionalInformation","type":"textarea","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Standard Buttons","columns":[{"components":[{"label":"Continue","showValidations":false,"block":true,"customClass":"usa-button","tableView":false,"key":"submit","customConditional":"show = !data.showReassignButton ? true : data.showSubmitButton;","type":"button","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"View PDF","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"viewPdf","attributes":{"class":"usa-button--outline"},"type":"button","event":"viewPdf","input":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[{"label":"Save","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"save","customConditional":"show = data.showSaveButton;","type":"button","event":"save","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[{"label":"Reassign","action":"event","showValidations":false,"block":true,"customClass":"usa-button usa-button--outline","tableView":false,"key":"reassign","customConditional":"show = data.showReassignButton;","type":"button","event":"reassign","input":true,"hideOnChildrenHidden":false}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"hideOnChildrenHidden":false,"key":"standardButtons","type":"columns","input":false,"tableView":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true},{"label":"SBU Footer","tableView":true,"form":"5fc7c311de457463ee152fb3","revision":0,"reference":false,"key":"sbuFooter","customConditional":"show = instance.options.pdf;","type":"form","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"components":[{"label":"HTML","tag":"p style=\"font-size: 11px\"","attrs":[{"attr":"","value":""}],"content":"

\r\n\r\nThe content of this document may contain Sensitive But Unclassified (SBU) data and/or Controlled Unclassified Information (CUI).\r\n","refreshOnChange":false,"key":"sbu_label","type":"htmlelement","input":false,"tableView":false},{"label":"HiddenTestField","calculateValue":"value = \"\";","calculateServer":true,"key":"hiddenTestField","type":"hidden","input":true,"tableView":false}]}],"revisions":"original","_vid":1,"_vnote":"(Source version:2, User:smartin, Build:7154277)","_vuser":"admin","title":"OPM_HR_Staff_v2","name":"opmHrStaffV2","path":"opmhrstaffv2","display":"form","controller":"","properties":{},"settings":{"hideTitle":true},"access":[{"roles":["5f9ae327f1b65926a66350f3","5f9ae327f1b65921a76350f4"],"type":"read_all"},{"roles":["5f9ae327f1b65926a66350f3"],"type":"update_all"}],"submissionAccess":[{"roles":["5f9ae327f1b65926a66350f3","5f9ae327f1b65921a76350f4"],"type":"create_all"}],"project":"5f9ae327f1b65987a86350f2","created":"2022-02-02T21:26:05.032Z","modified":"2023-08-28T12:37:05.792Z","_rid":"61faf6ed3f84a98b977a1e99","config":{"PAYGOV_ENV":"https://www.pay.gov","STATIC_ASSETS_ENV":"https://www.pay.gov/public/static-assets/paygov","COMPANY_PROFILE":"public/api/v1/companyprofile","MIN_MAX_AMOUNT":"public/api/v1/minmaxamount","GET_COUNTRIES":"public/api/v1/getCountries","GET_STATES":"public/api/v1/getStates"},"module":"{options:{form:{evalContext:{pgFormioGlobal:function(){function o(a,e,t,o){if(a=a&&a.replace(e,\"\")){if(t)return t;t=(o||\"Input\")+\" contains invalid \";e=a.replace(/[\\x00-\\x20\\x7F]/g,\"\");return 1===e.length?t+=e+\" \":1e.length&&((o=a.replace(/[^ ]/g,\"\")).length?a.length===e.length+o.length?t+=e.length?\"and space \":\"space \":t+=\"space and non-printable \":t+=e.length?\"and non-printable \":\"non-printable \"),t+\"character\"+(1parseFloat(e.maxAmount))return\"Your payment is above the maximum allowed amount. Please enter a lower dollar amount.\"}return!0}}}}}}}"}