public GroupEdit(IUserService userService, IGroupData groupData) { _userService = userService; _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.Stacked; Settings.Title = "Add/Edit Group"; Settings.Container = ContainerType.Modal; Settings.ContainerName = "groupEditModal"; Settings.Labels = true; Settings.FormController = "Groups"; Settings.FormAction = "Update"; Settings.FormSubmitText = "Add/Edit Group"; Inputs = new List <Input> { new Input { Id = "group", Label = "Group:", Type = "select", Options = GetGroups(), Placeholder = "", Class = "" }, new Input { Id = "name", Label = "Add/Edit Group Name:", Type = "text", Placeholder = "", Class = "", Validation = true, ValidationRequiredMessage = "A group name is required!" } }; }
public void Update(IGroupData data) { GroupID = data.GroupID; SceneID = data.SceneID; Meta = data.Meta; _updated.OnNext(this); }
public void OnGroupUpdate(IGroupData data) { if (_groups.TryGetValue(data.GroupID, out var group)) { group.Update(data); } }
public Group(IGroupData group, bool copyLastSync = true) { Name = group.Name; LastSync = copyLastSync ? group.LastSync : null; Files = group.Files.ToList(); Folders = group.Folders.ToList(); }
public Group OnGroupCreate(IGroupData data) { if (_groups.TryGetValue(data.GroupID, out var group)) { OnGroupUpdate(data); return(group); } group = new Group(data); _groups.Add(data.GroupID, group); _groupCreated.OnNext(group); return(group); }
public InMemoryTimeCardData(IGroupData groupData, IUserData userData) { this.userData = userData; this.groupData = groupData; UserTimes = new List <UserTime>() { new UserTime { Id = 1, Group = groupData.GetById(1), User = userData.GetById(1), StartTime = DateTime.Parse("11:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "1", WorkComments = "Worked on CSS.", }, new UserTime { Id = 2, Group = groupData.GetById(1), User = userData.GetById(2), StartTime = DateTime.Parse("10:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "2", WorkComments = "Worked on C# backend", }, new UserTime { Id = 3, Group = groupData.GetById(1), User = userData.GetById(3), StartTime = DateTime.Parse("9:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "3", WorkComments = "This is cumbersome?", }, new UserTime { Id = 4, Group = groupData.GetById(1), User = userData.GetById(4), StartTime = DateTime.Parse("8:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "4", WorkComments = "Designed database.", }, new UserTime { Id = 5, Group = groupData.GetById(1), User = userData.GetById(1), StartTime = DateTime.Parse("7:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "5", WorkComments = "This is Boring?", }, new UserTime { Id = 6, Group = groupData.GetById(1), User = userData.GetById(2), StartTime = DateTime.Parse("6:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "6", WorkComments = "Implemented class models.", }, new UserTime { Id = 7, Group = groupData.GetById(1), User = userData.GetById(3), StartTime = DateTime.Parse("5:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "7", WorkComments = "This is my last Final for the semester.", }, new UserTime { Id = 8, Group = groupData.GetById(1), User = userData.GetById(4), StartTime = DateTime.Parse("4:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "8", WorkComments = "This is cumbersome??", }, new UserTime { Id = 9, Group = groupData.GetById(1), User = userData.GetById(1), StartTime = DateTime.Parse("3:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "9", WorkComments = "Can i get the page to display correctly?", }, new UserTime { Id = 10, Group = groupData.GetById(1), User = userData.GetById(1), StartTime = DateTime.Parse("2:30 PM"), StopTime = DateTime.Parse("12:30 PM"), TotalHours = "10", WorkComments = "This is cumbersome???", } }; }
public TSCYC(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "tscycModal"; Settings.Columns = 2; Settings.Title = "TSCYC Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.select.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Gender field is required!" }, new Input { Id = InputIDType.ethnicity.ToString(), Label = "Race:", Type = InputType.select.ToString(), // Same as TSCC Options = Utility.GetCustomEthnicityOptions(), Placeholder = "", Class = "", Column = 1 }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.livingSituation.ToString(), Label = "Child's Living Situation:", Type = InputType.select.ToString(), Options = Utility.GetLivingSituationOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.raterGender.ToString(), Label = "Rater Gender:", Type = InputType.select.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.relationship.ToString(), Label = "Rater's Relationship to Child:", Type = InputType.select.ToString(), Options = Utility.GetGeneral2RelationshipOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.liveWithChild.ToString(), Label = "Does Child Live with Rater:", Type = InputType.select.ToString(), Options = Utility.GetYesNo2Options(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.liveWithYears.ToString(), Label = "How many years:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.liveWithMonths.ToString(), Label = "Months:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.hoursPerWeek.ToString(), Label = "Average Time Spent with Child per Week:", Type = InputType.select.ToString(), Options = Utility.GetTimePerWeekOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.description.ToString(), Label = "Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public GroupListViewComponent(IGroupData groupData) { _groupData = groupData; }
public PSI4(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "psi4Modal"; Settings.Columns = 2; Settings.Title = "PSI-4 Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "ID Number:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Gender field is required!" }, new Input { Id = InputIDType.ethnicity.ToString(), Label = "Race:", Type = InputType.checkbox.ToString(), Options = Utility.GetEthnicity5Options(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.maritalStatus.ToString(), Label = "Marital Status:", Type = InputType.select.ToString(), Options = Utility.GetMaritalStatusOptions(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.age.ToString(), Label = "Age (of rater):", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age of rater field is required!", }, new Input { Id = InputIDType.childName.ToString(), Label = "Child's Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.childGender.ToString(), Label = "Child's Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.childDOB.ToString(), Label = "Child's Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.childAge.ToString(), Label = "Child's Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Child's age field is required!", }, new Input { Id = InputIDType.referredBy.ToString(), Label = "Referral Source:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.description.ToString(), Label = "Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public PDDBISV(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "pddbiSvModal"; Settings.Columns = 2; Settings.Title = "PDDBI-SV Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "ID Number:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Birthdate field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.age.ToString(), Label = "Calculated Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, // Read only? }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.ethnicity.ToString(), Label = "Ethnicity:", Type = InputType.checkbox.ToString(), Options = Utility.GetEthnicity4Options(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Rater Name field is required!" }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship to Child:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public SIPA(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "sipaModal"; Settings.Columns = 2; Settings.Title = "SIPA Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship to Child:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.select.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Gender field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.ethnicity.ToString(), Label = "Ethnicity:", Type = InputType.select.ToString(), Options = Utility.GetEthnicity3Options(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.maritalStatus.ToString(), Label = "Marital Status:", Type = InputType.select.ToString(), Options = Utility.GetMaritalStatusOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.childFirstName.ToString(), Label = "Child's First Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.childLastName.ToString(), Label = "Child's Last Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.childDOB.ToString(), Label = "Child's Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.childAge.ToString(), Label = "Child's Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.childGender.ToString(), Label = "Child's Gender:", Type = InputType.select.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 2, }, }; }
public MEMRY_TEACHER(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "memryTeacherModal"; Settings.Columns = 2; Settings.Title = "MEMRY Teacher Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.clientId.ToString(), Label = "ID Number:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.firstName.ToString(), Label = "Student's First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Student's Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater's Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Rater's Name field is required!" }, new Input { Id = InputIDType.howWellKnown.ToString(), Label = "How well do you know the student?:", Type = InputType.select.ToString(), Options = Utility.GetKnownOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.examiner.ToString(), Label = "Examiner:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public SIMS(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "simsModal"; Settings.Columns = 2; Settings.Title = "SIMS Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "ID Number:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.select.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Gender field is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.maritalStatus.ToString(), Label = "Marital Status:", Type = InputType.select.ToString(), Options = Utility.GetMaritalStatusOptions(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.occupation.ToString(), Label = "Occupation:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.educationYears.ToString(), Label = "Education (Years):", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.ethnicity.ToString(), Label = "Ethnicity:", Type = InputType.checkbox.ToString(), Options = Utility.GetEthnicity4Options(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.testLocation.ToString(), Label = "Test Location:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.setting.ToString(), Label = "Context/Setting:", Type = InputType.select.ToString(), Options = Utility.GetSettingOptions(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.purpose.ToString(), Label = "Purpose of Test:", Type = InputType.select.ToString(), Options = Utility.GetPurposeOptions(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.symptoms.ToString(), Label = "Reported Symptoms:", Type = InputType.checkbox.ToString(), Options = Utility.GetSymptomsOptions(), Placeholder = "", Class = "", Column = 2, }, }; }
public NEOPI3_PDR(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "neopi3PdrModal"; Settings.Columns = 2; Settings.Title = "NEO-PI-3 PDR Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "ID Number:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.companyName.ToString(), Label = "Company Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.position.ToString(), Label = "Position:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2 }, }; }
public EDDT_PF(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "eddtPFModal"; Settings.Columns = 2; Settings.Title = "EDDT-PF Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The gender field is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.grade.ToString(), Label = "Grade:", Type = InputType.select.ToString(), Options = Utility.GetGrade3Options(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.raterName.ToString(), Label = "Parent's Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship:", Type = InputType.select.ToString(), Column = 2, Options = Utility.GetParent3RelationshipOptions(), Placeholder = "", Class = "" }, new Input { Id = InputIDType.relationshipDesc.ToString(), Label = "Relationship Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public BRIEFA_INFORMANT(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Columns = 2; Settings.Container = ContainerType.Modal; Settings.ContainerName = "briefAInformantModal"; Settings.Title = "BRIEF-A Informant Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The gender field is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.raterFirstName.ToString(), Label = "Rater First Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, Validation = false }, new Input { Id = InputIDType.raterLastName.ToString(), Label = "Rater Last Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, Validation = false }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship To Client:", Type = InputType.select.ToString(), Options = Utility.GetGeneralRelationshipOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.relationshipDesc.ToString(), Label = "Relationship Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.relationship.ToString(), Label = "Rater specifies knowing this client:", Type = InputType.select.ToString(), Options = Utility.GetKnownOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.howLongKnown.ToString(), Label = "Rater has known client for how many years?:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public CHAMP(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Columns = 2; Settings.Container = ContainerType.Modal; Settings.ContainerName = "champModal"; Settings.Title = "CHAMP Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.ethnicity.ToString(), Label = "Ethnicity:", Type = InputType.select.ToString(), Options = Utility.GetEthnicityOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.raterName.ToString(), Label = "Examiner:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Examiner field is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" } }; }
public FRSBE_SELF(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "frsbeSelfModal"; Settings.Columns = 2; Settings.Title = "FRSBE Self Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The gender field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.grade.ToString(), Label = "Education:", Type = InputType.select.ToString(), Options = Utility.GetFRSBEGradeOptions(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Education field is required!" }, new Input { Id = InputIDType.dateOfIllness.ToString(), Label = "Date of illness/injury:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, }; }
public BRIEF2_3112(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Page; Settings.ContainerName = "brief2Modal"; Settings.Columns = 2; Settings.Title = "BRIEF2 Teacher Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = ""; Settings.FormAction = ""; Settings.ShowValidation = false; Settings.Display = DisplayType.Table; Inputs = new List <Input> { new Input { Id = InputIDType.primaryEmail.ToString(), Label = "Email", Column = 1, Type = InputType.email.ToString(), Class = "form-control-sm", ClientData = true, ClientDataValidation = true, ValidationRequiredMessage = "Email is required!" }, new Input { Id = InputIDType.firstName.ToString(), Label = "Student's First Name:", Column = 1, Type = InputType.text.ToString(), Class = "form-control-sm", ClientData = true, ClientDataOrdinal = 1, ClientDataValidation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Student's Last Name:", Type = InputType.text.ToString(), Column = 1, Class = "form-control-sm ", ClientData = true, ClientDataOrdinal = 2, ClientDataValidation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Id Number:", Type = InputType.text.ToString(), Column = 1, Placeholder = "123abc", Class = "form-control-sm", ClientData = true, ClientDataOrdinal = 3, ClientDataValidation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "form-control-sm", Column = 1, ClientData = true, ClientDataOrdinal = 4, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Max = 18, Min = 5, Column = 1, ClientData = true, TestDataOrdinal = 3, ClientDataValidation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "form-control-sm", Column = 1, ClientData = true, ClientDataOrdinal = 5, ClientDataValidation = true, }, new Input { Id = InputIDType.grade.ToString(), Label = "Grade:", Type = InputType.select.ToString(), Options = Utility.GetGradeOptions(), Placeholder = "", Class = "form-control-sm", Column = 2, Value = "0", //Default to Not Specified ClientData = false, TestDataOrdinal = 6 }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 7 }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship To Student:", Type = InputType.select.ToString(), Options = Utility.GetTeacherRelationshipOptions(), Placeholder = "", Class = "form-control-sm", Value = "0", //Default to Not Specified Column = 2, ClientData = false, TestDataOrdinal = 8 }, new Input { Id = InputIDType.classTaught.ToString(), Label = "Class Taught:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 9 }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 2 }, new Input { Id = InputIDType.description.ToString(), Label = "Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 5 }, new Input { Id = InputIDType.howWellKnown.ToString(), Label = "How well do you know the student:", Type = InputType.select.ToString(), Options = Utility.GetKnownOptions(), Class = "form-control-sm", Value = "0", //Default to Not Specified Column = 2, ClientData = false, TestDataOrdinal = 10 }, new Input { Id = InputIDType.howLongKnown.ToString(), Label = "How long known (Months):", Type = InputType.text.ToString(), Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 11 }, new Input { Id = InputIDType.specialEducation.ToString(), Label = "Student receiving special educational services?:", Type = InputType.checkbox.ToString(), Options = Utility.GetYesNoOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.raterName.ToString(), Label = "Examiner:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 4 }, }; }
public BRIEF2_3111(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Page; Settings.ContainerName = "brief2Modal"; Settings.Columns = 2; Settings.Title = "BRIEF2 Parent Form"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = ""; Settings.FormAction = ""; Settings.ShowValidation = false; Settings.Display = DisplayType.Table; Inputs = new List <Input> { new Input { Id = InputIDType.primaryEmail.ToString(), Label = "Email", Column = 1, Type = InputType.email.ToString(), Class = "form-control-sm", ClientData = true, ClientDataValidation = true, ValidationRequiredMessage = "Email is required!" }, new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Column = 1, Type = InputType.text.ToString(), Class = "form-control-sm", ClientData = true, ClientDataOrdinal = 1, ClientDataValidation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Column = 1, Class = "form-control-sm ", ClientData = true, ClientDataOrdinal = 2, ClientDataValidation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Column = 1, Placeholder = "123abc", Class = "form-control-sm", ClientData = true, ClientDataOrdinal = 3, ClientDataValidation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "form-control-sm", Column = 1, ClientData = true, ClientDataOrdinal = 4, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.number.ToString(), Placeholder = "", Class = "form-control-sm", Max = 18, Min = 5, Column = 1, ClientData = true, TestDataOrdinal = 3, ClientDataValidation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "form-control-sm", Column = 1, ClientData = true, ClientDataOrdinal = 5, ClientDataValidation = true, }, new Input { Id = InputIDType.grade.ToString(), Label = "Grade:", Type = InputType.select.ToString(), Options = Utility.GetGradeOptions(), Placeholder = "", Class = "form-control-sm", Column = 2, Value = "0", //Default to Not Specified ClientData = false, TestDataOrdinal = 6 }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 7 }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship To Child:", Type = InputType.select.ToString(), Options = Utility.GetParentRelationshipOptions(), Placeholder = "", Class = "form-control-sm", Value = "0", //Default to Not Specified Column = 2, ClientData = false, TestDataOrdinal = 8 }, new Input { Id = InputIDType.relationshipDesc.ToString(), Label = "Relationship Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 9 }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 2 }, new Input { Id = InputIDType.description.ToString(), Label = "Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 5 }, new Input { Id = InputIDType.raterName.ToString(), Label = "Examiner:", Type = InputType.text.ToString(), Placeholder = "", Class = "form-control-sm", Column = 2, ClientData = false, TestDataOrdinal = 4 }, new Input { Id = InputIDType.testForm.ToString(), Type = InputType.hidden.ToString(), Column = 2, ClientData = false, TestDataOrdinal = 1, Value = "Parent" }, new Input { Id = InputIDType.howWellKnown.ToString(), Type = InputType.hidden.ToString(), Column = 2, ClientData = false, TestDataOrdinal = 10, Value = "" }, new Input { Id = InputIDType.educationServices.ToString(), Type = InputType.hidden.ToString(), Column = 2, ClientData = false, TestDataOrdinal = 11, Value = "" } }; }
public Group(IGroupData groupData) { GroupID = groupData.GroupID; SceneID = groupData.SceneID; Meta = groupData.Meta; }
public BRIEF_TEACHER(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Columns = 2; Settings.Container = ContainerType.Modal; Settings.ContainerName = "briefTeacherModal"; Settings.Title = "BRIEF Teacher Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The gender field is required!" }, new Input { Id = InputIDType.grade.ToString(), Label = "Grade:", Type = InputType.select.ToString(), Options = Utility.GetGradeOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship To Child:", Type = InputType.select.ToString(), Options = Utility.GetTeacherRelationshipOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.classTaught.ToString(), Label = "Class Taught:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.description.ToString(), Label = "Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.howWellKnown.ToString(), Label = "How well do you know the student:", Type = InputType.select.ToString(), Options = Utility.GetKnownOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.howLongKnown.ToString(), Label = "How long known (Months):", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public BRIEF_PRESCHOOL(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Columns = 2; Settings.Container = ContainerType.Modal; Settings.ContainerName = "briefPreschoolModal"; Settings.Title = "BRIEF Preschool Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The gender field is required!" }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater Name:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.relationship.ToString(), Label = "Relationship To Child:", Type = InputType.select.ToString(), Options = new[] { new Option(0, "Not Specified", true), new Option(1, "Mother", false), new Option(2, "Father", false), new Option(3, "Teacher", false), new Option(4, "Other", false) }, Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.normGroup.ToString(), Label = "Norm Group:", Type = InputType.select.ToString(), Options = new[] { new Option(0, "Not Specified", true), new Option(1, "Parent", false), new Option(2, "Teacher", false) }, Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The norm group is required!" }, new Input { Id = InputIDType.relationshipDesc.ToString(), Label = "Relationship Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 2, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.description.ToString(), Label = "Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.howWellKnown.ToString(), Label = "How well do you know the student:", Type = InputType.select.ToString(), Options = Utility.GetKnownOptions(), Placeholder = "", Class = "", Column = 2 }, new Input { Id = InputIDType.howLongKnown.ToString(), Label = "How long known (Months):", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
private void ReportProgress(SyncStage stage, IGroupData group = null, string info = null) { progess?.Report(new ProgressData(stage, group, info)); }
public APS(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.Columns = 2; Settings.DefaultClass = "small"; Settings.ContainerName = "apsModal"; Settings.Title = "APS Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = ""; Settings.FormAction = ""; Settings.ShowValidation = false; // Settings.Layout = LayoutType.Stacked; //Settings.Container = ContainerType.Page; Inputs = new List <Input> { new Input { Id = InputIDType.primaryEmail.ToString(), Label = "Email", Column = 1, Type = InputType.email.ToString(), Class = "form-control-sm", BatchValidation = true, ValidationRequiredMessage = "Email is required!" }, new Input { Id = InputIDType.raterName.ToString(), Label = "Examiner", Column = 1, Type = InputType.text.ToString(), Class = "form-control-sm", BatchValidation = false, }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id", Type = InputType.text.ToString(), Column = 1, Class = "form-control-sm", BatchValidation = true, ValidationRequiredMessage = "Client ID is required!" }, new Input { Id = InputIDType.firstName.ToString(), Label = "First Name", Column = 1, Type = InputType.text.ToString(), Class = "form-control-sm", BatchValidation = true, ValidationRequiredMessage = "First Name is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name", Type = InputType.text.ToString(), Column = 1, Class = "form-control-sm", BatchValidation = true, ValidationRequiredMessage = "Last Name is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date", Type = InputType.date.ToString(), Column = 1, Class = "form-control-sm hide-item", }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender", Type = InputType.radio.ToString(), Column = 1, Options = Utility.GetGenderOptions(), Class = "form-control-sm", BatchValidation = true, ValidationRequiredMessage = "Gender is required!" }, new Input { Id = InputIDType.grade.ToString(), Label = "Grade in School", Type = InputType.select.ToString(), Column = 1, Options = Utility.GetAPSGradeOptions(), Class = "form-control-sm", BatchValidation = false, }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birth Date", Type = InputType.date.ToString(), Column = 1, Class = "form-control-sm", BatchValidation = true, ValidationRequiredMessage = "Birthdate is required!" }, new Input { Id = InputIDType.heightFeet.ToString(), Label = "Height(feet)", Column = 2, Type = InputType.text.ToString(), Class = "form-control-sm", BatchValidation = false }, new Input { Id = InputIDType.heightInches.ToString(), Label = "Height(inches)", Column = 2, Type = InputType.text.ToString(), Class = "form-control-sm", BatchValidation = false }, new Input { Id = InputIDType.weight.ToString(), Label = "Weight", Column = 2, Type = InputType.text.ToString(), Class = "form-control-sm", BatchValidation = false }, new Input { Id = InputIDType.age.ToString(), Label = "Age", Column = 2, Type = InputType.text.ToString(), Class = "form-control-sm", BatchValidation = false }, new Input { Id = InputIDType.ethnicity.ToString(), Label = "Ethnicity", Type = InputType.select.ToString(), Column = 2, Options = Utility.GetEthnicityOptions(), Class = "form-control-sm", BatchValidation = false }, new Input { Id = InputIDType.school.ToString(), Label = "School/Agency", Type = InputType.text.ToString(), Column = 2, Class = "form-control-sm", BatchValidation = false }, new Input { Id = InputIDType.schoolStatus.ToString(), Label = "School Status", Type = InputType.select.ToString(), Column = 2, Options = Utility.GetSchoolStatusOptions(), Class = "form-control-sm", BatchValidation = false } }; }
public CAD_2077(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Page; Settings.Columns = 2; Settings.ContainerName = "cadModal"; Settings.Title = "CAD Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = ""; Settings.FormAction = ""; Settings.ShowValidation = false; Settings.Display = DisplayType.Table; // Settings.Layout = LayoutType.Stacked; //Settings.Container = ContainerType.Page; Inputs = new List <Input> { new Input { Id = InputIDType.primaryEmail.ToString(), Label = "Email", Column = 1, Type = InputType.email.ToString(), Class = "form-control-sm", ClientData = true, ClientDataValidation = true, ValidationRequiredMessage = "Email is required!" }, new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Column = 1, Type = InputType.text.ToString(), Class = "form-control-sm", ClientData = true, ClientDataOrdinal = 1, ClientDataValidation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Column = 1, Class = "form-control-sm ", ClientData = true, ClientDataOrdinal = 2, ClientDataValidation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Column = 1, Placeholder = "123abc", Class = "form-control-sm", ClientData = true, ClientDataOrdinal = 3, ClientDataValidation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.radio.ToString(), Column = 1, ClientData = true, ClientDataOrdinal = 5, ClientDataValidation = true, Options = new[] { new Option(1, "Female", false), new Option(2, "Male", false) }, Class = "form-control-sm" }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Column = 2, Type = InputType.number.ToString(), Min = 0, Max = 130, Class = "form-control-sm", ClientData = true, TestDataOrdinal = 2, ClientDataValidation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Column = 2, ClientData = true, ClientDataOrdinal = 4, Class = "form-control-sm" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Column = 2, Class = "form-control-sm hide-item", ClientData = false, TestDataOrdinal = 1, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" } }; }
public ClientEdit(IUserService userService, IGroupData groupData) { _userService = userService; _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.Columns = 2; Settings.Title = "Add/Edit Client"; Settings.ContainerName = "clientEditModal"; Settings.Labels = true; Settings.FormController = "Clients"; Settings.FormAction = "Create"; Settings.FormSubmitText = "Add Client"; Inputs = new List <Input> { new Input { Id = InputIDType.clientId.ToString(), Label = "Client Id:", Type = InputType.text.ToString(), Placeholder = "123abc", Column = 1, Class = "", //PrePendIcon = "address-card", Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Column = 1, Class = "", Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Column = 1, Class = "", Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthday:", Type = InputType.date.ToString(), Placeholder = "", Column = 1, Class = "", Validation = false, ValidationDateMessage = "A valid date is required!" }, new Input { Id = InputIDType.age.ToString(), Label = "Age", Type = InputType.number.ToString(), Min = 0, Max = 120, Placeholder = "", Column = 1, Class = "", Validation = true, ValidationNumberMessage = "A valid age is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender", Type = InputType.select.ToString(), Options = Utility.GetGender2Options(), Column = 2, Class = "" }, new Input { Id = InputIDType.normGroup.ToString(), Label = "Group:", Type = InputType.select.ToString(), Options = GetGroups(), Column = 2, Class = "" }, new Input { Id = InputIDType.primaryEmail.ToString(), Label = "Primary Email:", Type = InputType.email.ToString(), Placeholder = "", Class = "", Column = 2, Validation = false, ValidationEmailMessage = "A valid email is required!" }, new Input { Id = InputIDType.secondaryEmail.ToString(), Label = "Secondary Email:", Type = InputType.email.ToString(), Placeholder = "", Column = 2, Class = "", Validation = false, ValidationEmailMessage = "A valid email is required!" } }; }
public CAB_TEACHER(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Columns = 2; Settings.Container = ContainerType.Modal; Settings.ContainerName = "cabTeacherModal"; Settings.Columns = 2; Settings.Title = "CAB Teacher Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Column = 1, Placeholder = "", Class = "", Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.firstName.ToString(), Label = "Student's First Name:", Type = InputType.text.ToString(), Column = 1, Placeholder = "Jerry", Class = "", BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Student's Last Name:", Type = InputType.text.ToString(), Column = 1, Placeholder = "Nolan", Class = "", BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "ID Number:", Type = InputType.text.ToString(), Column = 1, Placeholder = "123abc", Class = "", BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Student's Birthdate:", Type = InputType.date.ToString(), Column = 1, Placeholder = "", Class = "", }, new Input { Id = InputIDType.age.ToString(), Label = "Student's Age:", Type = InputType.text.ToString(), Column = 1, Placeholder = "", Class = "", BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Student's Gender:", Type = InputType.radio.ToString(), Column = 1, Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", BatchValidation = true, Validation = true, ValidationRequiredMessage = "The gender field is required!" }, new Input { Id = InputIDType.grade.ToString(), Label = "Grade:", Type = InputType.select.ToString(), Column = 2, Options = Utility.GetGrade2Options(), Placeholder = "", Class = "" }, new Input { Id = InputIDType.raterName.ToString(), Label = "Rater Name:", Type = InputType.text.ToString(), Column = 2, Placeholder = "", Class = "", }, new Input { Id = InputIDType.relationship.ToString(), Label = "Position/Title:", Type = InputType.select.ToString(), Column = 2, Options = Utility.GetTeacher2RelationshipOptions(), Placeholder = "", Class = "" }, new Input { Id = InputIDType.relationshipDesc.ToString(), Label = "Position/Title Description:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.school.ToString(), Label = "School/Agency:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.howLongKnown.ToString(), Label = "How long known (Months):", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, }, }; }
public SEARSC(IGroupData groupData) { _groupData = groupData; Settings = new Settings(); Settings.Layout = LayoutType.TwoColumn; Settings.Container = ContainerType.Modal; Settings.ContainerName = "searsCModal"; Settings.Columns = 2; Settings.Title = "SEARS C Form Demographics"; Settings.FormSubmitText = "Submit"; Settings.Labels = true; Settings.FormController = "Demographics"; Settings.FormAction = "Index"; Inputs = new List <Input> { new Input { Id = InputIDType.firstName.ToString(), Label = "First Name:", Type = InputType.text.ToString(), Placeholder = "Jerry", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The First Name field is required!" }, new Input { Id = InputIDType.lastName.ToString(), Label = "Last Name:", Type = InputType.text.ToString(), Placeholder = "Nolan", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Last Name field is required!" }, new Input { Id = InputIDType.clientId.ToString(), Label = "ID Number:", Type = InputType.text.ToString(), Placeholder = "123abc", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Client ID field is required!" }, new Input { Id = InputIDType.testDate.ToString(), Label = "Test Date:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, Validation = true, ValidationRequiredMessage = "The Test Date field is required!", ValidationDateMessage = "A valid date must be entered" }, new Input { Id = InputIDType.dateOfBirth.ToString(), Label = "Birthdate:", Type = InputType.date.ToString(), Placeholder = "", Class = "", Column = 1, }, new Input { Id = InputIDType.age.ToString(), Label = "Age:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 1, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Age field is required!" }, new Input { Id = InputIDType.gender.ToString(), Label = "Gender:", Type = InputType.select.ToString(), Options = Utility.GetGenderOptions(), Placeholder = "", Class = "", Column = 2, }, new Input { Id = InputIDType.school.ToString(), Label = "School:", Type = InputType.text.ToString(), Placeholder = "", Class = "", Column = 2, Validation = false }, new Input { Id = InputIDType.grade.ToString(), Label = "Grade:", Type = InputType.select.ToString(), Options = Utility.GetSEARSCGradeOptions(), Placeholder = "", Class = "", Column = 2, BatchValidation = true, Validation = true, ValidationRequiredMessage = "The Grade field is required!" }, }; }
public ProgressData(SyncStage stage, IGroupData group = null, string info = null) { Stage = stage; Group = group; Info = info; }