{"_id":"64382d0f3f91e9ecac655548","type":"form","tags":[],"owner":"5f9acba5f1b659b9e06350e4","components":[{"label":"Top of Form","columns":[{"components":[{"label":"authorizationToken","key":"authorizationToken","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":true,"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":true,"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":true,"width":12}],"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}],"autoAdjust":true,"hideOnChildrenHidden":true,"key":"columns1","type":"columns","input":false,"tableView":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"HTML","tag":"img","attrs":[{"attr":"src","value":"{{ config.STATIC_ASSETS_ENV }}/VAVISN/images/visn20_logo.jpg"},{"attr":"alt","value":"VA NORTHWEST HEALTH CARE NETWORK VISN 20"},{"attr":"title","value":"VA NORTHWEST HEALTH CARE NETWORK VISN 20"},{"attr":"style","value":"max-width: 250px;"}],"refreshOnChange":false,"key":"html","type":"htmlelement","input":false,"tableView":false},{"label":"HTML","tag":"h3","attrs":[{"attr":"","value":""}],"content":"VA NORTHWEST HEALTH CARE NETWORK: VISN 20
","refreshOnChange":false,"key":"html1","type":"htmlelement","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Welcome to the Department of Veterans Affairs Northwest Healthcare Network donation page. The VA Northwest Healthcare Network Alaska, Boise, Portland, Puget Sound, Roseburg, Spokane, Walla Walla and White City. Please click on the facility to which you would like to donate.
\n\n* Required Field
","refreshOnChange":false,"key":"html2","type":"htmlelement","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"Facility","widget":"html5","tableView":true,"dataSrc":"custom","data":{"custom":"values = [\r\n {\r\n \"label\" : \"Alaska Veteran Affairs Healthcare System\",\r\n \"locationCode\" : \"463\",\r\n \"title\" : \"Alaska Veteran Affairs Healthcare System\",\r\n \"image\" : \"visn20_alaska.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },\r\n {\r\n \"label\" : \"Boise VA Medical Center\",\r\n \"locationCode\" : \"531\",\r\n \"title\" : \"Boise VA Medical Center\",\r\n \"image\" : \"visn20_boise.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },\r\n {\r\n \"label\" : \"VA Portland Health Care System\",\r\n \"locationCode\" : \"648\",\r\n \"title\" : \"VA Portland Health Care System\",\r\n \"image\" : \"visn20_portland.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },\r\n {\r\n \"label\" : \"Roseburg VA Healthcare System\",\r\n \"locationCode\" : \"653\",\r\n \"title\" : \"Roseburg VA Healthcare System\",\r\n \"image\" : \"visn20_roseburg.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },\r\n {\r\n \"label\" : \"Mann-Grandstaff VA Medical Center\",\r\n \"locationCode\" : \"668\",\r\n \"title\" : \"Mann-Grandstaff VA Medical Center\",\r\n \"image\" : \"visn20_spokane.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },\r\n {\r\n \"label\" : \"Jonathan M. Wainwright Memorial VA Medical Center - Walla Walla, WA\",\r\n \"locationCode\" : \"687\",\r\n \"title\" : \"Jonathan M. Wainwright Memorial VA Medical Center - Walla Walla, WA\",\r\n \"image\" : \"visn20_walla.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },\r\n {\r\n \"label\" : \"White City, Southern Oregon Rehabilitation Center & Clinic \",\r\n \"locationCode\" : \"692\",\r\n \"title\" : \"White City, Southern Oregon Rehabilitation Center & Clinic \",\r\n \"image\" : \"visn20_white.jpg\",\r\n \"maxWidth\" : \"250\"\r\n },\r\n {\r\n \"label\" : \"Puget Sound VA Healthcare System\",\r\n \"locationCode\" : \"663\",\r\n \"title\" : \"Puget Sound VA Healthcare System\",\r\n \"image\" : \"visn20_puget.jpg\",\r\n \"maxWidth\" : \"250\"\r\n }\r\n\r\n];"},"valueProperty":"locationCode","dataType":"string","validate":{"required":true},"key":"FacilityList","type":"select","input":true,"hideOnChildrenHidden":false,"searchThreshold":0.3}],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6},{"components":[{"label":"Facility","calculateValue":"switch (data.FacilityList) {\r\n\tcase \"463\" :\r\n\t\tvalue = {\r\n \"label\" : \"Alaska Veteran Affairs Healthcare System\",\r\n \"locationCode\" : \"463\",\r\n \"title\" : \"Alaska Veteran Affairs Healthcare System\",\r\n \"image\" : \"visn20_alaska.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n case \"531\" : \r\n value = { \r\n \"label\" : \"Boise VA Medical Center\",\r\n \"locationCode\" : \"531\",\r\n \"title\" : \"Boise VA Medical Center\",\r\n \"image\" : \"visn20_boise.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n case \"648\" : \r\n value = { \r\n \"label\" : \"VA Portland Health Care System\",\r\n \"locationCode\" : \"648\",\r\n \"title\" : \"VA Portland Health Care System\",\r\n \"image\" : \"visn20_portland.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n case \"653\" : \r\n value = { \r\n \"label\" : \"Roseburg VA Healthcare System\",\r\n \"locationCode\" : \"653\",\r\n \"title\" : \"Roseburg VA Healthcare System\",\r\n \"image\" : \"visn20_roseburg.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n case \"668\" : \r\n value = { \r\n \"label\" : \"Mann-Grandstaff VA Medical Center\",\r\n \"locationCode\" : \"668\",\r\n \"title\" : \"Mann-Grandstaff VA Medical Center\",\r\n \"image\" : \"visn20_spokane.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n case \"687\" : \r\n value = { \r\n \"label\" : \"Jonathan M. Wainwright Memorial VA Medical Center - Walla Walla, WA\",\r\n \"locationCode\" : \"687\",\r\n \"title\" : \"Jonathan M. Wainwright Memorial VA Medical Center - Walla Walla, WA\",\r\n \"image\" : \"visn20_walla.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n case \"692\" : \r\n value = { \r\n \"label\" : \"White City, Southern Oregon Rehabilitation Center & Clinic \",\r\n \"locationCode\" : \"692\",\r\n \"title\" : \"White City, Southern Oregon Rehabilitation Center & Clinic \",\r\n \"image\" : \"visn20_white.jpg\",\r\n \"maxWidth\" : \"250\"\r\n };\r\n break;\r\n \r\n case \"663\" : \r\n value = { \r\n \"label\" : \"Puget Sound VA Healthcare System\",\r\n \"locationCode\" : \"663\",\r\n \"title\" : \"Puget Sound VA Healthcare System\",\r\n \"image\" : \"visn20_puget.jpg\",\r\n \"maxWidth\" : \"250\"\r\n \t\t};\r\n\t\tbreak;\r\n\t\r\n\tdefault:\r\n\t\tvalue = \"\";\r\n\t\tbreak;\r\n}","calculateServer":true,"key":"Facility","type":"hidden","input":true,"tableView":false,"hideOnChildrenHidden":false}],"width":2,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":2},{"components":[],"size":"md","width":2,"offset":0,"push":0,"pull":0,"currentWidth":2}],"key":"columns","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false},{"title":"Donor Information","collapsible":false,"key":"donorInformation","customConditional":"show = !_.isEmpty(data.Facility.locationCode);","type":"panel","label":"Donor Information","input":false,"tableView":false,"components":[{"label":"HTML","tag":"img","attrs":[{"attr":"src","value":"{{ config.STATIC_ASSETS_ENV }}/VAVISN/images/{{ data.Facility.image }}"},{"attr":"alt","value":"VISN LOGO"},{"attr":"title","value":"VISN LOGO"},{"attr":"style","value":"max-width: {{ data.Facility.maxWidth }}px;"}],"refreshOnChange":true,"key":"html3","type":"htmlelement","input":false,"tableView":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Welcome to the {{ data.Facility.title }} donation page. Please use the drop-down menu to select the program in which you would like your donation to be used. If you do not have a specific use in mind, you may donate money for general use. Those funds are used to fund programs for Veterans throughout the {{ data.Facility.title }}.
\r\n","refreshOnChange":true,"key":"html4","type":"htmlelement","input":false,"tableView":false},{"label":"Columns","columns":[{"components":[{"label":"Name","tableView":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"Name_Field","type":"textfield","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"hideOnChildrenHidden":false},{"label":"Street Address","tableView":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":100},"key":"partyAddress1","type":"textfield","input":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84253f388e5b14ba3b29","isNew":true},{"label":"City","tableView":true,"validate":{"required":true,"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":50},"key":"partyCity","type":"textfield","input":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84253f388e5b14ba3b29","isNew":true},{"label":"State","widget":"html5","tableView":true,"dataSrc":"url","data":{"url":"{{ config.PAYGOV_ENV }}/public/api/v1/getStates?country=USA","headers":[{"key":"","value":""}]},"valueProperty":"stateAbbreviation","template":"{{ item.stateName }}","calculateServer":true,"validate":{"required":true},"key":"partyState","type":"select","input":true,"lazyLoad":false,"disableLimit":false,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"searchThreshold":0.3},{"label":"Zip Code","tableView":true,"validate":{"required":true,"custom":"if (input === \"\" || input === undefined || input === null) {\r\n valid = true;\r\n} else {\r\n var regEx = /^\\d{5}(-?\\d{4})?$/;\r\n if (regEx.test(input)) {\r\n var str = input.replace(/-/g, \"\");\r\n str = str.length === 5 ? str : str.substr(0,5) + \"-\" + str.substr(5);\r\n if (typeof instance != \"undefined\") {\r\n \tinstance.setValue(str);\r\n } else {\r\n \tdata[component.key] = str; \r\n }\r\n valid = true;\r\n } else {\r\n valid = \"Invalid Zip Code\";\r\n }\r\n}"},"key":"partyZipcode","type":"textfield","input":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Phone Number","tableView":true,"validate":{"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":"partyPhone","type":"textfield","input":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"Program for Donation","widget":"html5","tableView":true,"dataSrc":"custom","data":{"custom":"var temp = [\r\n {\r\n \"locationCode\" : \"687\",\r\n \"label\" : \"General Purpose\",\r\n \"value\" : \"4446\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"General Purpose\",\r\n \"value\" : \"9313\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Social Work\",\r\n \"value\" : \"9312\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Mental Health\",\r\n \"value\" : \"9315\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Hospice\",\r\n \"value\" : \"9316\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Recreation Therapy\",\r\n \"value\" : \"9317\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Residential Rehabilitation Treatment Program\",\r\n \"value\" : \"9318\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Central Oregon Vet Center\",\r\n \"value\" : \"9319\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Chaplain Service \",\r\n \"value\" : \"9320\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Community Reintegration Services \",\r\n \"value\" : \"9321\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Salem Vet Center \",\r\n \"value\" : \"9333\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"National Veterans Wheelchair Games \",\r\n \"value\" : \"9335\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Fisher House\",\r\n \"value\" : \"9338\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Emergency Transportation\",\r\n \"value\" : \"9339\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Disabled American Veterans Transportation\",\r\n \"value\" : \"9340\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Transition Care Management \",\r\n \"value\" : \"9342\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Portland Vet Center\",\r\n \"value\" : \"9344\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Rehab Medicine\",\r\n \"value\" : \"9345\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Transplant - Oncology Lodging Unit\",\r\n \"value\" : \"9346\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Women's Health Programs \",\r\n \"value\" : \"9348\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Caregiver Support\",\r\n \"value\" : \"9404\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Welcome Home Program\",\r\n \"value\" : \"9433\"\r\n },\r\n {\r\n \"locationCode\" : \"648\",\r\n \"label\" : \"Winter Sports Clinic\",\r\n \"value\" : \"9450\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"General Purpose\",\r\n \"value\" : \"4401\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Veteran Center Anchorage\",\r\n \"value\" : \"4402\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Veteran Center Fairbanks\",\r\n \"value\" : \"4403\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Veteran Center Wasilla\",\r\n \"value\" : \"4404\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Veteran Center Kenai\",\r\n \"value\" : \"4406\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Social Work - Emergent Needs\",\r\n \"value\" : \"4407\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Supported Housing\",\r\n \"value\" : \"4408\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Domiciliary\",\r\n \"value\" : \"4410\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Women Veterans\",\r\n \"value\" : \"4413\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Rehabilitation Events\",\r\n \"value\" : \"4417\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Wheelchair Games\",\r\n \"value\" : \"4418\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"VAVS Committee\",\r\n \"value\" : \"4420\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"OEF/OIF\",\r\n \"value\" : \"4421\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Patient Comfort Items\",\r\n \"value\" : \"4424\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Fairbanks Taxi Vouchers\",\r\n \"value\" : \"4426\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Veterans Clothing Fund\",\r\n \"value\" : \"4427\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Juneau Taxi\",\r\n \"value\" : \"4430\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Golden Age Games\",\r\n \"value\" : \"4431\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"National Golden Age Games\",\r\n \"value\" : \"4432\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"One Stop Shop\",\r\n \"value\" : \"4433\"\r\n },\r\n {\r\n \"locationCode\" : \"463\",\r\n \"label\" : \"Chaplain Service\",\r\n \"value\" : \"4434\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"General Purpose\",\r\n \"value\" : \"7750\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Community Living Center\",\r\n \"value\" : \"7753\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Vet Center\",\r\n \"value\" : \"7756\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Vet Center Food Pantry\",\r\n \"value\" : \"7757\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Patient and Family Support\",\r\n \"value\" : \"7758\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Chaplain Support\",\r\n \"value\" : \"7760\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Hospice\",\r\n \"value\" : \"7763\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Veteran Transportation Driver Support \",\r\n \"value\" : \"7764\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Sports, Art & Recreation Support\",\r\n \"value\" : \"7767\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Veteran Emergency Welfare Support\",\r\n \"value\" : \"7768\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Transport Support for Cancer Care\",\r\n \"value\" : \"7771\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Homeless Veteran Services\",\r\n \"value\" : \"7775\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Blind Veteran Rehabilitation\",\r\n \"value\" : \"7776\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Wenatchee Community Based Clinic Support\",\r\n \"value\" : \"7782\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Native American Veterans Support\",\r\n \"value\" : \"7784\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Veteran Caregiver Support\",\r\n \"value\" : \"7787\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Volunteer Recognition\",\r\n \"value\" : \"7790\"\r\n },\r\n {\r\n \"locationCode\" : \"668\",\r\n \"label\" : \"Veteran Holiday Traditions\",\r\n \"value\" : \"7791\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"General Purpose\",\r\n \"value\" : \"8802\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Indigent Fund\",\r\n \"value\" : \"8803\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Emergent\",\r\n \"value\" : \"8804\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Memorial\",\r\n \"value\" : \"8805\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Project Hobby (11K)\",\r\n \"value\" : \"8806\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Patient Computers\",\r\n \"value\" : \"8807\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Recreation\",\r\n \"value\" : \"8808\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Patients Coffee\",\r\n \"value\" : \"8811\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"VAVS Recognition\",\r\n \"value\" : \"8813\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Swimming Pool\",\r\n \"value\" : \"8814\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Chaplain Service\",\r\n \"value\" : \"8815\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Grants Pass Emergent\",\r\n \"value\" : \"8817\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Homeless Program\",\r\n \"value\" : \"8818\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Voc Rehab Transition\",\r\n \"value\" : \"8819\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Grants Pass General & Recreational\",\r\n \"value\" : \"8820\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Christmas Fund\",\r\n \"value\" : \"8821\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"VAVS Committee\",\r\n \"value\" : \"8822\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Day Treatment Program\",\r\n \"value\" : \"8823\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Vision Impaired\",\r\n \"value\" : \"8824\"\r\n },\r\n {\r\n \"locationCode\" : \"692\",\r\n \"label\" : \"Camp White Museum\",\r\n \"value\" : \"8825\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"General Pupose\",\r\n \"value\" : \"8801\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"Social Work Program\",\r\n \"value\" : \"8803\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"Veteran Art Program\",\r\n \"value\" : \"8806\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"Recreational Therapy\",\r\n \"value\" : \"8807\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"North Bend Indegent\",\r\n \"value\" : \"8808\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"Care Giver Support\",\r\n \"value\" : \"8823\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"Acute Psychological Unit\",\r\n \"value\" : \"8829\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"Womens Health Program \",\r\n \"value\" : \"8830\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"Community Living Center Pet Fund \",\r\n \"value\" : \"8835\"\r\n },\r\n {\r\n \"locationCode\" : \"653\",\r\n \"label\" : \"RRTP Rec Therapy\",\r\n \"value\" : \"8837\"\r\n },\r\n {\r\n \"locationCode\" : \"531\",\r\n \"label\" : \"General Purpose\",\r\n \"value\" : \"1008\"\r\n },\r\n {\r\n \"label\" : \"General Purpose to Support Veterans (or for a purpose not otherwise specified by the accounts below)\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9500\"\r\n },\r\n {\r\n \"label\" : \"Blind Rehabilitation\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9787\"\r\n },\r\n {\r\n \"label\" : \"Cancer Care / Bone Marrow Transplant\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9770\"\r\n },\r\n {\r\n \"label\" : \"Fisher House\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9823\"\r\n },\r\n {\r\n \"label\" : \"LGBTQ+ Veteran Care\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9510\"\r\n },\r\n {\r\n \"label\" : \"Mental Health Residential Rehabilitation/Domiciliary\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9630\"\r\n },\r\n {\r\n \"label\" : \"Multiple Sclerosis Program\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9817\"\r\n },\r\n {\r\n \"label\" : \"Polytrauma & Traumatic Brain Injury\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9828\"\r\n },\r\n {\r\n \"label\" : \"Transition & Care Management (Returning Servicemembers, Post 9/11 Veterans)\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9826\"\r\n },\r\n {\r\n \"label\" : \"Recreation Therapy Program\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9698\"\r\n },\r\n {\r\n \"label\" : \"Social Work / General Patient Welfare\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9602\"\r\n },\r\n {\r\n \"label\" : \"Social Work / Veterans Program\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9782\"\r\n },\r\n {\r\n \"label\" : \"Spinal Cord Injury & Disorders\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9826\"\r\n },\r\n {\r\n \"label\" : \"Support A Veteran - Wheelchair Games / Winter Sports Clinic / Golden Age Games / Creative Arts Festival / Etc.\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9811\"\r\n },\r\n {\r\n \"label\" : \"Women Veteran Care\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9519\"\r\n },\r\n {\r\n \"label\" : \"Vet Center - Bellingham\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9833\"\r\n },\r\n {\r\n \"label\" : \"Vet Center - Everett\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9832\"\r\n },\r\n {\r\n \"label\" : \"Vet Center - Federal Way\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9834\"\r\n },\r\n {\r\n \"label\" : \"Vet Center - Seattle\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9812\"\r\n },\r\n {\r\n \"label\" : \"Vet Center - Tacoma/Lacey\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9831\"\r\n },\r\n {\r\n \"label\" : \"Vet Center - Yakima\",\r\n \"locationCode\" : \"663\",\r\n \"value\" : \"9772\"\r\n }\r\n];\r\n\r\nvar values = [];\r\nfor (var i = 0; i < temp.length; i++) {\r\n if (temp[i].locationCode === data.Facility.locationCode) {\r\n values.push({\r\n \"label\": temp[i].label,\r\n \"value\": temp[i].value.toString()\r\n });\r\n }\r\n}"},"dataType":"string","valueProperty":"value","refreshOn":"FacilityList","clearOnRefresh":true,"validate":{"required":true},"key":"programForDonation","type":"select","input":true,"hideOnChildrenHidden":false,"searchThreshold":0.3},{"label":"Donation Amount","description":"(the minimum donation is $5.00)","mask":false,"spellcheck":true,"tableView":false,"currency":"USD","inputFormat":"plain","validate":{"required":true,"custom":"if (_.isNil(input)) {\r\n valid = true;\r\n} else {\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}"},"key":"RemittanceNetAmount","type":"currency","input":true,"delimiter":true,"hideOnChildrenHidden":false,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true},{"label":"In Memory of","tableView":true,"validateOn":"blur","validate":{"custom":"valid = pgFormioGlobal().validateText(input);","maxLength":255},"key":"inMemoryOf","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":[],"width":6,"offset":0,"push":0,"pull":0,"size":"md","currentWidth":6}],"key":"columns2","type":"columns","input":false,"tableView":false,"hideOnChildrenHidden":false},{"label":"Donor Intent/Additional Information","autoExpand":false,"tableView":true,"validate":{"custom":"valid = pgFormioGlobal().validateTextArea(input);","maxLength":1000},"key":"AdditionalInformation","type":"textarea","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"hideOnChildrenHidden":false},{"label":"HTML","attrs":[{"attr":"","value":""}],"content":"Thank you for your contribution. In accordance with Title 38 U.S.C. 8301, the Secretary of Veterans Affairs may accept gifts, for use in carrying out all laws administered by VA, which enhance the Secretary's ability to provide services and benefits to the veteran. No goods or services are provided by the Department of Veterans Affairs in return for your contribution. A donation to support any of the Department's programs is tax deductible, whether the donor directs that the donated funds be used for a specific purpose, or allows the Department to decide how the donated funds will be used.","refreshOnChange":false,"key":"html5","type":"htmlelement","input":false,"tableView":false}]},{"label":"Columns","columns":[{"components":[{"label":"CCF 1","calculateValue":"value = data.Facility.locationCode;","calculateServer":true,"key":"custom_field_1","type":"hidden","input":true,"tableView":true,"lockKey":true,"hideOnChildrenHidden":false,"mask":false,"inputFormat":"plain","spellcheck":true}],"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 2","tableView":true,"calculateValue":"value = data.programForDonation;","calculateServer":true,"key":"custom_field_2","type":"hidden","input":true,"lockKey":true,"hideOnChildrenHidden":false,"mask":false,"inputFormat":"plain","spellcheck":true}],"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 12","calculateValue":"value = \"Thank you for your thoughtfulness, generosity, and support of our efforts to enhance the quality of care provided to America' heroes.\";\r\n","calculateServer":true,"key":"custom_field_12","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":"Program_Field","calculateValue":"value = data.custom_field_2;","calculateServer":true,"key":"Program_Field","type":"hidden","input":true,"tableView":false,"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":[],"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":[],"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,"hideOnChildrenHidden":false},{"label":"SBU Footer","tableView":true,"form":"5fc7c311de457463ee152fb3","reference":false,"key":"sbuFooter","customConditional":"show = instance.options.pdf;","type":"form","input":true,"lockKey":true,"source":"5eac84259b53ff041c170ee7","isNew":true,"revision":0,"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"}]},{"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":"columns3","type":"columns","input":false,"tableView":false,"lockKey":true,"source":"5eac84253f388e59f3ba3b2c","isNew":true,"hideOnChildrenHidden":false}],"revisions":"original","_vid":2,"_vnote":"(Source version:13, User:cflorea, Build:5770130)","_vuser":"admin","title":"VA_VISN20_v1","name":"vaVisn20V1","path":"vavisn20v1","display":"form","controller":"","properties":{},"settings":{},"access":[{"roles":["5f9ae327f1b65926a66350f3","5f9ae327f1b65921a76350f4"],"type":"read_all"},{"roles":["5f9ae327f1b65926a66350f3"],"type":"update_all"}],"submissionAccess":[{"roles":["5f9ae327f1b65926a66350f3","5f9ae327f1b65921a76350f4"],"type":"create_all"}],"project":"5f9ae327f1b65987a86350f2","created":"2021-07-01T12:00:13.944Z","modified":"2023-04-13T16:25:51.053Z","_rid":"60ddae4da6fb090a99c30643","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}}}}}}}"}