{"_id":"65a687a54e992709f93e37c1","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":[{"label":"Company Profile","persistent":"client-only","calculateServer":true,"trigger":{"init":true,"server":true},"dataSrc":"url","fetch":{"url":"{{ config.PAYGOV_ENV }}/public/api/v1/companyprofile/{{ data.agencyFormId }}","method":"get","headers":[{"key":"X-Paygov-Authorization-Token","value":"{{ data.authorizationToken }}"}],"forwardHeaders":true,"authenticate":false},"key":"CompanyDataFromPaygov","type":"datasource","input":true,"tableView":false,"validate":{"multiple":true},"hideOnChildrenHidden":false,"keyModified":true,"multiple":true,"width":12}],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"key":"topOfForm","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Columns","columns":[{"components":[{"label":"Logo","tag":"img","attrs":[{"attr":"src","value":"{{ config.STATIC_ASSETS_ENV }}/DOS/images/us_department_logo.jpg"},{"attr":"alt","value":"U.S. Department of State"},{"attr":"Title","value":"U.S. Department of State"}],"refreshOnChange":false,"tableView":false,"key":"logo","type":"htmlelement","input":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"sm","currentWidth":2},{"components":[],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2}],"key":"columns","type":"columns","tableView":false,"input":false,"hideOnChildrenHidden":false},{"label":"HTML","tag":"h3","attrs":[{"attr":"","value":""}],"content":"Form DS-11 U.S. Passport Application Fee
 ","refreshOnChange":false,"key":"html","type":"htmlelement","tableView":false,"input":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Please Note: Use this online payment form ONLY to pay for your Form DS-11 Application for a U.S. Passport fee. To be eligible to use this online payment form, you must apply in person at a U.S. embassy, consulate, or consular agency abroad, and you must meet ONE of the following criteria:\n\n\nIf you do not meet these criteria or are applying for a different service, you do NOT qualify to pay your passport application fee online using this form. Please refer to the official website of the location where you are applying for further information. Passport fees are NOT refundable except in very limited circumstances.

\n\nInstructions:\n\n
    \n
  1. Complete all fields below. Please note that only letters from the English alphabet may be used. If the applicant?s name or address contain non-English letter(s), please replace it with letter(s) closest to its English equivalent.
  2. \n
  3. Use the passport applicant?s current legal name, even if it is different from the name in the applicant?s previous passport.
  4. \n
  5. If you are paying the application fee on behalf of someone else, please enter the information for the passport applicant. Do NOT enter the payer?s information below. The payer?s information will be requested on the following screen(s).
  6. \n
\n\n* Required Field
 ","refreshOnChange":true,"key":"html2","type":"htmlelement","tableView":false,"input":false,"hideLabel":true},{"label":"Columns","columns":[{"components":[{"label":"Applicant Surname","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"var str = input.replace(/\\u2019/g, \"'\");\nvar regEx = /^[a-zA-Z,-._'\\s]+$/i;\n\nif (_.isEmpty(str) || regEx.test(str)) {\n if (typeof instance != \"undefined\") {\n instance.setValue(str);\n } else {\n data[component.key] = str; \n }\n valid = true;\n} else {\n var s = str.replace(/[a-zA-Z,-._'\\s]/ig, \"\");\n var chars = s.split(\"\").join(\" \");\n valid = \"Input contains invalid \" + chars + \" character\" + (chars.length > 1 ? \"s.\" : \".\");\n}\n\n","maxLength":40},"key":"ApplicantSurName","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Applicant Given Name(s)","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"var str = input.replace(/\\u2019/g, \"'\");\nvar regEx = /^[a-zA-Z,-._'\\s]+$/i;\n\nif (_.isEmpty(str) || regEx.test(str)) {\n if (typeof instance != \"undefined\") {\n instance.setValue(str);\n } else {\n data[component.key] = str; \n }\n valid = true;\n} else {\n var s = str.replace(/[a-zA-Z,-._'\\s]/ig, \"\");\n var chars = s.split(\"\").join(\" \");\n valid = \"Input contains invalid \" + chars + \" character\" + (chars.length > 1 ? \"s.\" : \".\");\n}","maxLength":40},"key":"ApplicantGivenName","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns2","type":"columns","tableView":false,"input":false,"path":"columns"},{"label":"Columns","columns":[{"components":[{"label":"Applicant Date of Birth","placeholder":"MM/DD/YYYY","inputMask":"99/99/9999","tableView":true,"customDefaultValue":"instance.skipMaskValidation = true;","validateOn":"blur","validate":{"required":true,"custom":"var regEx = /^\\d{2}\\/\\d{2}\\/\\d{4}$/;\r\n\r\nif (_.isEmpty(input)) {\r\n\tvalid = true;\r\n} else if (!regEx.test(input)) {\r\n\tvalid = \"Invalid date. Please use the format MM/DD/YYYY\";\r\n} else {\r\n\tvar matches = /^(\\d{2})[-\\/](\\d{2})[-\\/](\\d{4})$/.exec(input);\r\n\tvar d = matches[2];\r\n\tvar m = matches[1] - 1;\r\n\tvar y = matches[3];\r\n\tvar composedDate = new Date(y, m, d);\r\n\t\r\n\tif (!(composedDate.getDate() == d && composedDate.getMonth() == m && composedDate.getFullYear() == y)) {\r\n\t valid = \"Not a valid date\";\r\n\t} else {\r\n\t var oldest = new Date();\r\n\t oldest.setFullYear(oldest.getFullYear() - 120);\r\n\t \r\n\t if (composedDate > new Date()) {\r\n\t valid = \"Cannot be a future date\";\r\n\t } else if (composedDate < oldest) {\r\n\t valid = \"Cannot be before \" + oldest.toLocaleDateString('en-US');\r\n\t } else {\r\n\t valid = true;\r\n\t }\r\n\t}\r\n}","maxLength":255},"key":"sensDOB","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Age","tableView":true,"calculateValue":"if (!_.isEmpty(data.sensDOB)) {\r\n var ageDiff = Date.now() - new Date(data.sensDOB);\r\n var ageDate = new Date(ageDiff);\r\n value = Math.abs(ageDate.getUTCFullYear() - 1970);\r\n} else {\r\n value = \"\";\r\n}","calculateServer":true,"key":"Age","type":"hidden","input":true}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns5","type":"columns","input":false,"tableView":false},{"label":"Applicant Mailing Address","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"ApplicantAddress1","type":"textfield","input":true,"hideOnChildrenHidden":false},{"label":"Applicant Mailing Address 2","tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"ApplicantAddress2","type":"textfield","input":true,"hideOnChildrenHidden":false,"validateOn":"blur"},{"label":"Columns","columns":[{"components":[{"label":"City","tableView":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":50},"key":"ApplicantCity","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Country","widget":"html5","tableView":true,"dataSrc":"custom","data":{"custom":"var list = [];\n\nif (!_.isEmpty(data.CompanyDataFromPaygov)) {\n var profile = data.CompanyDataFromPaygov;\n \n for (var i = 0; i < profile.length; i++) {\n if (profile[i].companyName.indexOf(\"Prices\") < 0) {\n list.push({\n \"label\": profile[i].companyName,\n \"value\": profile[i].companyName,\n \"location\": data.CompanyDataFromPaygov[i]['Passport Renewal Location']\n });\n }\n }\n}\n\nvalues = _.orderBy(list, \"label\");"},"validate":{"required":true},"key":"ApplicantCountry","type":"select","input":true,"redrawOn":"CompanyDataFromPaygov","keyModified":true}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns4","type":"columns","tableView":false,"input":false,"path":"columns1"},{"label":"Columns","columns":[{"components":[{"label":"State / Province","tableView":true,"validateOn":"blur","validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":50},"key":"ApplicantState","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Zip Code","tableView":true,"case":"uppercase","validateOn":"blur","validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":10},"key":"ApplicantZipcode","type":"textfield","input":true,"hideOnChildrenHidden":false}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns1","type":"columns","input":false,"tableView":false},{"label":"Applicant Email Address","tableView":true,"calculateValue":"if (data.SelfPay === true) {\n value = data.RequesterEmail;\n}","allowCalculateOverride":true,"validateOn":"blur","validate":{"required":true,"custom":"valid = pgFormioGlobal().validateEmail(input);"},"key":"partyEmail","logic":[{"name":"disable","trigger":{"type":"javascript","javascript":"result = data.SelfPay === true;"},"actions":[{"name":"disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"not required","type":"property","property":{"label":"Required","value":"validate.required","type":"boolean"},"state":false}]}],"type":"textfield","input":true,"hideOnChildrenHidden":false},{"label":"Confirm Applicant Email Address","tableView":true,"calculateValue":"if (data.SelfPay === true) {\n value = data.RequesterEmail;\n}","allowCalculateOverride":true,"validateOn":"blur","validate":{"required":true,"custom":"var go = pgFormioGlobal().validateEmail(input);\n\nif (go === true && !_.isEmpty(input) && !_.isEmpty(data.partyEmail)) {\n go = input === data.partyEmail ? true : \"The email addresses do not match\";\n}\n\nvalid = go;"},"key":"confirmEmail","logic":[{"name":"disable","trigger":{"type":"javascript","javascript":"result = data.SelfPay === true;"},"actions":[{"name":"disable","type":"property","property":{"label":"Disabled","value":"disabled","type":"boolean"},"state":true},{"name":"not required","type":"property","property":{"label":"Required","value":"validate.required","type":"boolean"},"state":false}]}],"type":"textfield","input":true,"hideOnChildrenHidden":false},{"label":"Passport Application Location","tableView":true,"clearOnHide":false,"calculateValue":"value = data.ApplicantCountry.location;\r\n","calculateServer":true,"key":"RenewalLocation","type":"textfield","input":true,"hideOnChildrenHidden":false},{"label":"Columns","columns":[{"components":[{"label":"Product you are applying for:","widget":"html5","tableView":true,"dataSrc":"custom","data":{"custom":"var list = [];\n\nif (!_.isEmpty(data.CompanyDataFromPaygov)) {\n var profile = data.CompanyDataFromPaygov;\n for (var i = 0; i < profile.length; i++) {\n if (profile[i].companyName.indexOf(\"Prices\") > -1) {\n if (!_.isEmpty(data.sensDOB) && data.Age < 16) {\n if (profile[i].companyId === \"Minor Book\") {\n addItem(i, \"Book (Minor) - \");\n } else if (profile[i].companyId === \"Minor Card\") {\n addItem(i, \"Card (Minor) - \");\n } else if (profile[i].companyId === \"Minor Book and Card\") {\n addItem(i, \"Book & Card (Minor) - \");\n }\n } else if (data.Age >= 16) {\n if (profile[i].companyId === \"Adult Book\") {\n addItem(i, \"Book (Adult) - \");\n } else if (profile[i].companyId === \"Adult Card\") {\n addItem(i, \"Card (Adult) - \");\n } else if (profile[i].companyId === \"Adult Book and Card\") {\n addItem(i, \"Book & Card (Adult) - \");\n }\n }\n }\n }\n}\n\nvalues = list;\n\nfunction addItem(index, label) {\n list.push({\n \"label\": label + data.CompanyDataFromPaygov[index].Total,\n \"pss\": data.CompanyDataFromPaygov[i]['PSS'],\n \"whti\": data.CompanyDataFromPaygov[i]['WHTI'],\n \"paef\": data.CompanyDataFromPaygov[i]['PAEF'],\n \"execution\": data.CompanyDataFromPaygov[i]['Execution']\n });\n}"},"refreshOn":"sensDOB","clearOnRefresh":true,"validate":{"required":true},"key":"Product","type":"select","input":true},{"label":"Amount Due","mask":false,"spellcheck":true,"tableView":false,"currency":"USD","inputFormat":"plain","calculateValue":"var amount = !_.isEmpty(data.Product) ? parseFloat(data.Product.label.split(\"$\")[1]) : 0;\nvalue = amount;","calculateServer":true,"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}],"key":"columns3","type":"columns","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"By submitting this form, you acknowledge that you are making a payment for one Form DS-11 U.S. Passport Application and understand that Passport fees are NOT refundable except in very limited circumstances.

\n\nImportant Note: This payment does NOT complete your passport application. To complete your passport application, you must submit ALL of the following items IN PERSON at the U.S. embassy, consulate, or consular agency you selected. Please review full instructions for completing the Form DS-11 U.S. Passport Application on the U.S. embassy/consulate?s website.\n\n
    \n
  1. An original, UNSIGNED copy of your completed Form DS-11 U.S. Passport Application
  2. \n
  3. A new 2-inch x 2-inch (51mm x 51 mm) passport photo on white background
  4. \n
  5. A printed copy of the payment confirmation email for this transaction
  6. \n
","refreshOnChange":false,"key":"html1","type":"htmlelement","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Press the ?Continue? button below to proceed to the payment screen.
 ","refreshOnChange":false,"key":"html3","customConditional":"show = !instance.options.pdf;","type":"htmlelement","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"CCF 1","calculateValue":"value = data.ApplicantSurName;","calculateServer":true,"key":"custom_field_1","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false},{"label":"CCF 2","calculateValue":"value = data.ApplicantGivenName;","calculateServer":true,"key":"custom_field_2","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","type":"column","hideOnChildrenHidden":false,"input":true,"key":"","tableView":true,"label":"","placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"eq":""},"id":"eciwb9nj","currentWidth":2},{"components":[{"label":"CCF 3","calculateValue":"value = data.sensDOB;","calculateServer":true,"key":"custom_field_3","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false},{"label":"CCF 4","calculateValue":"value = data.ApplicantAddress1 + (!_.isEmpty(data.ApplicantAddress2) ? \", \" + data.ApplicantAddress2 : \"\");","calculateServer":true,"key":"custom_field_4","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","type":"column","hideOnChildrenHidden":false,"input":true,"key":"","tableView":true,"label":"","placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"eq":""},"id":"exw7tvmt","currentWidth":2},{"components":[{"label":"CCF 5","tableView":true,"calculateValue":"value = data.ApplicantCity + \", \" + data.ApplicantCountry.value + (!_.isEmpty(data.ApplicantZipcode) ? \", \" + data.ApplicantZipcode : \"\");","calculateServer":true,"key":"custom_field_5","type":"hidden","input":true,"lockKey":true,"hideOnChildrenHidden":false},{"label":"CCF 6","calculateValue":"value = data.partyEmail;","calculateServer":true,"key":"custom_field_6","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"type":"column","hideOnChildrenHidden":false,"input":true,"key":"","tableView":true,"label":"","placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"eq":""},"id":"eyl1ak5p","size":"md","currentWidth":2},{"components":[{"label":"CCF 7","tableView":true,"calculateValue":"value = data.Product.label;","calculateServer":true,"key":"custom_field_7","type":"hidden","input":true,"lockKey":true,"hideOnChildrenHidden":false},{"label":"CCF 8","calculateValue":"value = data.RenewalLocation;","calculateServer":true,"key":"custom_field_8","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"type":"column","hideOnChildrenHidden":false,"input":true,"key":"","tableView":true,"label":"","placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"eq":""},"id":"eervrqza","size":"md","currentWidth":2},{"components":[{"label":"CCF 9","calculateValue":"value = data.Product.pss;","calculateServer":true,"key":"custom_field_9","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false},{"label":"CCF 10","calculateValue":"value = data.Product.whti;","calculateServer":true,"key":"custom_field_10","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"type":"column","hideOnChildrenHidden":false,"input":true,"key":"","tableView":true,"label":"","placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"eq":""},"id":"eyj91ysh","size":"md","currentWidth":2},{"components":[{"label":"CCF 11","calculateValue":"value = data.Product.paef;","calculateServer":true,"key":"custom_field_11","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false},{"label":"CCF 12","calculateValue":"value = data.Product.execution;","calculateServer":true,"key":"custom_field_12","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false},{"label":"classification_data1","calculateValue":"var amount = _.isNumber(data.RemittanceNetAmount) ? data.RemittanceNetAmount : 0;\nvalue = \"DS11 Passport Fees|\" + (\"$\" + amount.toFixed(2).replace(/(\\d)(?=(\\d{3})+\\.)/g, \"$1,\").toString());","calculateServer":true,"key":"classification_data1","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"type":"column","hideOnChildrenHidden":false,"input":true,"key":"","tableView":true,"label":"","placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"eq":""},"id":"e15b2tie","size":"md","currentWidth":2}],"hideLabel":true,"key":"panelColumns2","type":"columns","labelWidth":30,"labelMargin":3,"input":false,"tableView":false,"clearOnRefresh":false,"path":"panelColumns2","lockKey":true,"source":"5eac8425c2464812cf69235e","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}],"key":"standardButtons","type":"columns","input":false,"tableView":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true},{"label":"SBU Footer","tableView":true,"form":"5fc7c311de457463ee152fb3","useOriginalRevision":false,"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\"","className":"","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,"customClass":"","hidden":false,"modalEdit":false,"key":"sbu_label","tags":[],"properties":{},"conditional":{"eq":"","json":""},"customConditional":"","logic":[],"attributes":{},"overlay":{"style":"","page":"","left":"","top":"","width":"","height":""},"type":"htmlelement","input":false,"tableView":false,"placeholder":"","prefix":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":false,"clearOnHide":true,"refreshOn":"","redrawOn":"","labelPosition":"top","description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","calculateServer":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false,"strictDateValidation":false,"multiple":false,"unique":false},"allowCalculateOverride":false,"encrypted":false,"showCharCount":false,"showWordCount":false,"allowMultipleMasks":false,"id":"e56fbt3"},{"label":"HiddenTestField","calculateValue":"value = \"\";","calculateServer":true,"key":"hiddenTestField","type":"hidden","input":true,"tableView":false,"placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"protected":false,"unique":false,"persistent":true,"hidden":false,"clearOnHide":true,"refreshOn":"","redrawOn":"","modalEdit":false,"labelPosition":"top","description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","widget":{"type":"input"},"attributes":{},"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false,"strictDateValidation":false,"multiple":false,"unique":false},"conditional":{"eq":""},"overlay":{"style":"","left":"","top":"","width":"","height":""},"allowCalculateOverride":false,"encrypted":false,"showCharCount":false,"showWordCount":false,"properties":{},"allowMultipleMasks":false,"inputType":"hidden","id":"em1zpzb"}]}],"revisions":"original","_vid":1,"_vnote":"(Source version:14, User:smartin, Build:8957347)","_vuser":"admin","title":"DOS_DS11_Passport_v1","name":"dosDs11PassportV1","path":"dosds11passportv1","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":"2023-12-20T17:07:22.643Z","modified":"2024-01-16T13:41:57.726Z","_rid":"65831f4aee5f083c04e558d9","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}}}}}}}"}