Skip to content

Instantly share code, notes, and snippets.

@gabrielsch
Created March 30, 2023 22:51
Show Gist options
  • Save gabrielsch/e30b9b7dc3a559c1f0c698df653bd4b4 to your computer and use it in GitHub Desktop.
Save gabrielsch/e30b9b7dc3a559c1f0c698df653bd4b4 to your computer and use it in GitHub Desktop.
{"_id":"63fd1a9768105834bf299104","type":"form","tags":[],"owner":"6259ae329242087d65b03192","components":[{"label":"Form","tableView":true,"form":"63ffa7233e08a84fa5e9fc23","useOriginalRevision":false,"key":"form","type":"form","input":true,"revision":0,"formRevision":0},{"title":"Page 1","label":"Page 1","type":"panel","key":"page1","components":[{"label":"Last Name","tableView":true,"key":"lastname","conditional":{"show":false,"when":"firstName"},"overlay":{"page":1,"left":144,"top":98,"width":100,"height":20},"type":"textfield","input":true},{"label":"Front of ID","tableView":false,"webcam":false,"fileTypes":[{"label":"","value":""}],"key":"frontOfId","type":"file","input":true},{"label":"First Name","tableView":true,"key":"firstName","overlay":{"page":1,"left":407,"top":96,"width":100,"height":20},"type":"textfield","input":true},{"label":"Date of Birth","format":"MM-dd-yyyy","tableView":false,"datePicker":{"disableWeekends":false,"disableWeekdays":false},"enableTime":false,"enableMinDateInput":false,"enableMaxDateInput":false,"key":"dateOfBirth","overlay":{"page":1,"left":664,"top":99,"width":100,"height":20},"type":"datetime","input":true,"widget":{"type":"calendar","displayInTimezone":"viewer","locale":"en","useLocaleSettings":false,"allowInput":true,"mode":"single","enableTime":false,"noCalendar":false,"format":"MM-dd-yyyy","hourIncrement":1,"minuteIncrement":1,"time_24hr":false,"minDate":null,"disableWeekends":false,"disableWeekdays":false,"maxDate":null}},{"label":"Age","mask":false,"tableView":false,"delimiter":false,"requireDecimal":false,"inputFormat":"plain","truncateMultipleSpaces":false,"key":"age","type":"number","input":true},{"label":"Allergic to Eggs?","widget":"choicesjs","tableView":true,"data":{"values":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"}]},"key":"allergicToEggs","overlay":{"page":2,"left":171,"top":324,"height":22,"width":217},"type":"select","input":true},{"label":"Table","numRows":4,"numCols":4,"cloneRows":true,"cellAlignment":"left","key":"table","type":"table","input":false,"tableView":false,"rows":[[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName","overlay":{"page":1,"left":147,"top":141,"height":"20","width":"100"},"type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField","type":"textfield","input":true}]}],[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName1","type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose1","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften1","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField1","type":"textfield","input":true}]}],[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName2","type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose2","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften2","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField2","type":"textfield","input":true}]}],[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName4","type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose4","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften4","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField4","type":"textfield","input":true}]}]]},{"label":"Table","numRows":4,"numCols":4,"cloneRows":true,"cellAlignment":"left","key":"table1","type":"table","input":false,"tableView":false,"rows":[[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName3","type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose3","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften3","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField3","type":"textfield","input":true}]}],[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName5","type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose5","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften5","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField5","type":"textfield","input":true}]}],[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName6","type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose6","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften6","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField6","type":"textfield","input":true}]}],[{"components":[{"label":"Medication Name","tableView":true,"key":"medicationName7","type":"textfield","input":true}]},{"components":[{"label":"Medication Dose","tableView":true,"key":"medicationDose7","type":"textfield","input":true}]},{"components":[{"label":"How Often","tableView":true,"key":"howOften7","type":"textfield","input":true}]},{"components":[{"label":"Text Field","tableView":true,"key":"textField7","type":"textfield","input":true}]}]]},{"label":"Medications","reorder":false,"addAnother":"Add Another","addAnotherPosition":"bottom","layoutFixed":false,"enableRowGroups":false,"initEmpty":false,"tableView":false,"defaultValue":[{"medicationName7":"","medicationDose7":"","howOften7":"","textField7":""}],"key":"dataGrid","type":"datagrid","input":true,"components":[{"label":"Medication Name","tableView":true,"key":"medicationName7","type":"textfield","input":true},{"label":"Medication Dose","tableView":true,"key":"medicationDose7","type":"textfield","input":true},{"label":"How Often","tableView":true,"key":"howOften7","type":"textfield","input":true},{"label":"Text Field","tableView":true,"key":"textField7","type":"textfield","input":true}]}],"input":false,"tableView":false},{"label":"Cell Phone","tableView":true,"key":"cellPhone","overlay":{"page":1,"left":373,"top":137,"width":100,"height":20},"type":"textfield","input":true},{"label":"Submit","showValidations":false,"tableView":false,"key":"submit","type":"button","input":true},{"label":"Text Field","tableView":true,"key":"textField8","overlay":{"page":5,"left":67,"top":240,"width":100,"height":20},"type":"textfield","input":true},{"label":"Text Field","tableView":true,"key":"textField9","overlay":{"page":5,"left":297,"top":242,"height":20,"width":100},"type":"textfield","input":true},{"label":"Medications","reorder":false,"addAnotherPosition":"bottom","layoutFixed":false,"enableRowGroups":false,"initEmpty":false,"tableView":false,"defaultValue":[{"medicationName":"","medicationDose":""}],"key":"medications","overlay":{"page":1,"left":283,"top":652,"width":100,"height":20},"type":"datagrid","input":true,"components":[{"label":"Medication Name","tableView":true,"key":"medicationName","type":"textfield","input":true},{"label":"Medication Dose","tableView":true,"key":"medicationDose","type":"textfield","input":true}],"lockKey":true,"source":"63ffa7233e08a84fa5e9fc23","isNew":true},{"label":"Medications","reorder":false,"addAnotherPosition":"bottom","layoutFixed":false,"enableRowGroups":false,"initEmpty":false,"tableView":false,"defaultValue":[{"medicationName":"","medicationDose":""}],"key":"medications1","overlay":{"page":1,"left":188,"top":243,"width":100,"height":20},"type":"datagrid","input":true,"components":[{"label":"Medication Name","tableView":true,"key":"medicationName","type":"textfield","input":true},{"label":"Medication Dose","tableView":true,"key":"medicationDose","type":"textfield","input":true}],"lockKey":true,"source":"63ffa7233e08a84fa5e9fc23","isNew":true},{"title":"Page 2","label":"Page 2","type":"panel","key":"page2","input":false,"tableView":false,"components":[]},{"title":"Page 3","label":"Page 3","type":"panel","key":"page3","input":false,"tableView":false,"components":[]},{"title":"Page 4","label":"Page 4","type":"panel","key":"page4","input":false,"tableView":false,"components":[]}],"revisions":"original","_vid":2,"title":"Open Access Test","display":"wizard","access":[{"roles":["63fd1899cacb2b89560e9403","63fd1899cacb2b56920e9408","63fd1899cacb2b58380e940d"],"type":"read_all"}],"submissionAccess":[],"controller":"","properties":{},"settings":{"pdf":{"src":"https://files.form.io/pdf/63fd1899cacb2b237e0e93fc/file/e7d6df26-cb71-5b72-a52c-30f90e9a24b5","id":"e7d6df26-cb71-5b72-a52c-30f90e9a24b5"}},"name":"openAccessTest","path":"openaccesstest","project":"63fd1899cacb2b237e0e93fc","created":"2023-02-27T21:03:19.668Z","modified":"2023-03-02T20:17:13.889Z","machineName":"pkwpxrihoklrwis:test"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment