511 lines
20 KiB
JSON
511 lines
20 KiB
JSON
{
|
|
"data": [
|
|
{
|
|
"id": "Form1",
|
|
"name": "Interaction Form",
|
|
"form-fields": [
|
|
{
|
|
"sectionName": "Interaction Details",
|
|
"multiple": false,
|
|
"sectionList": [
|
|
{
|
|
"name": "Interaction Date",
|
|
"id": "intdate_1",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "Date",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Interaction Location",
|
|
"param": "interactionLocation",
|
|
"id": "intlocation_1",
|
|
"selectedValue": [],
|
|
"depid": "",
|
|
"widget": "dropdown",
|
|
"input": "dropdown",
|
|
"inputList": [
|
|
{
|
|
"id": "1",
|
|
"name": "In office"
|
|
},
|
|
{
|
|
"id": "2",
|
|
"name": "some"
|
|
},
|
|
{
|
|
"id": "3",
|
|
"name": "Internal meetings"
|
|
},
|
|
{
|
|
"id": "4",
|
|
"name": "Internal meetings2"
|
|
},
|
|
{
|
|
"id": "5",
|
|
"name": "Out of Office"
|
|
},
|
|
{
|
|
"id": "6",
|
|
"name": "Virtual"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Interaction Type",
|
|
"id": "inttype_11",
|
|
"depid": "",
|
|
"widget": "dropdown",
|
|
"input": "dropdown",
|
|
"inputList": [
|
|
{
|
|
"id": "11",
|
|
"name": "Face to Face"
|
|
},
|
|
{
|
|
"id": "12",
|
|
"name": "Lecture"
|
|
},
|
|
{
|
|
"id": "13",
|
|
"name": "Mailing"
|
|
},
|
|
{
|
|
"id": "14",
|
|
"name": "Other"
|
|
},
|
|
{
|
|
"id": "15",
|
|
"name": "Phone"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Interaction Category",
|
|
"id": "intcategory_21",
|
|
"depid": "",
|
|
"widget": "radio",
|
|
"input": "radio",
|
|
"inputList": [
|
|
{
|
|
"id": "21",
|
|
"name": "One to One"
|
|
},
|
|
{
|
|
"id": "22",
|
|
"name": "Group"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Number of Attendees",
|
|
"id": "intattendees_2",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "number",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Employee name",
|
|
"id": "intempname_31",
|
|
"depid": "",
|
|
"widget": "dropdown",
|
|
"input": "dropdown",
|
|
"inputList": [
|
|
{
|
|
"id": "31",
|
|
"name": "Sarepta Manager"
|
|
},
|
|
{
|
|
"id": "32",
|
|
"name": "Todd Truesdale"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Interaction ",
|
|
"id": "intcheck_121",
|
|
"depid": "",
|
|
"widget": "checkbox",
|
|
"input": "checkbox",
|
|
"inputList": [
|
|
{
|
|
"id": "121",
|
|
"name": "One to One"
|
|
},
|
|
{
|
|
"id": "122",
|
|
"name": "Group"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Number of Attendees",
|
|
"id": "intrange_122",
|
|
"depid": "",
|
|
"widget": "rangeslider",
|
|
"max": "100",
|
|
"min": "20",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"sectionName": "Discussion Topic",
|
|
"multiple": true,
|
|
"sectionList": [
|
|
{
|
|
"name": "Product",
|
|
"id": "discproduct_41",
|
|
"depid": "",
|
|
"param": "product",
|
|
"widget": "dropdown",
|
|
"input": "dropdown",
|
|
"inputList": [
|
|
{
|
|
"id": "41",
|
|
"name": "Product1"
|
|
},
|
|
{
|
|
"id": "42",
|
|
"name": "Product2"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Discussion Type",
|
|
"id": "disctype_51",
|
|
"depid": "",
|
|
"widget": "autocomplete",
|
|
"input": "autocomplete",
|
|
"inputList": [
|
|
{
|
|
"id": "51",
|
|
"name": "Face to Face"
|
|
},
|
|
{
|
|
"id": "52",
|
|
"name": "Lecture"
|
|
},
|
|
{
|
|
"id": "53",
|
|
"name": "Mailing"
|
|
},
|
|
{
|
|
"id": "54",
|
|
"name": "Other"
|
|
},
|
|
{
|
|
"id": "55",
|
|
"name": "Phone"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Discussion Topic",
|
|
"id": "disctopic_61",
|
|
"depid": "",
|
|
"widget": "multiselect",
|
|
"input": "multiselect",
|
|
"inputList": [
|
|
{
|
|
"id": "61",
|
|
"name": "Face to Face"
|
|
},
|
|
{
|
|
"id": "62",
|
|
"name": "Lecture"
|
|
},
|
|
{
|
|
"id": "63",
|
|
"name": "Mailing"
|
|
},
|
|
{
|
|
"id": "64",
|
|
"name": "Other"
|
|
},
|
|
{
|
|
"id": "65",
|
|
"name": "Phone"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"sectionName": "Attendees",
|
|
"multiple": true,
|
|
"sectionList": [
|
|
{
|
|
"name": "HCP Name",
|
|
"id": "attendeeshcpname_3",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Speciality",
|
|
"id": "attendeeshcpspeciality_4",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Title",
|
|
"id": "attendeestitle_5",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"sectionName": "Other",
|
|
"multiple": false,
|
|
"sectionList": [
|
|
{
|
|
"name": "Address1",
|
|
"id": "otheraddress1_12",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "primary",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Address2",
|
|
"id": "otheraddress2_13",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "Hubli",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Postal code",
|
|
"id": "otherpostal_14",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "number",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Country",
|
|
"id": "othercountry_15",
|
|
"depid": "",
|
|
"widget": "dropdown",
|
|
"inputList": [
|
|
{
|
|
"name": "India",
|
|
"id": "1"
|
|
},
|
|
{
|
|
"name": "USA",
|
|
"id": "2"
|
|
},
|
|
{
|
|
"name": "Nepal",
|
|
"id": "3"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "State",
|
|
"id": "otherstate_16",
|
|
"depid": "othercountry_15",
|
|
"widget": "dropdown",
|
|
"inputList": [
|
|
{
|
|
"name": "Karnataka",
|
|
"id": "1",
|
|
"pid": "1"
|
|
},
|
|
{
|
|
"name": "Maharashtra",
|
|
"id": "2",
|
|
"pid": "1"
|
|
},
|
|
{
|
|
"name": "Andhra Pradesh",
|
|
"id": "3",
|
|
"pid": "1"
|
|
},
|
|
{
|
|
"name": "Karnataka",
|
|
"id": "4",
|
|
"pid": "1"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "City",
|
|
"widget": "dropdown",
|
|
"id": "othercity_17",
|
|
"depid": "otherstate_16",
|
|
"inputList": [
|
|
{
|
|
"name": "Hubli",
|
|
"id": "1",
|
|
"pid": "1"
|
|
},
|
|
{
|
|
"name": "Bangalore",
|
|
"id": "2",
|
|
"pid": "1"
|
|
},
|
|
{
|
|
"name": "Belgavi",
|
|
"id": "3",
|
|
"pid": "1"
|
|
}
|
|
],
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"sectionName": "Other Attendees",
|
|
"multiple": false,
|
|
"sectionList": [
|
|
{
|
|
"name": "Attendee Name",
|
|
"id": "otherattendeename_18",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Speciality",
|
|
"id": "otherattendeespeciality_19",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Comments",
|
|
"id": "otherattendeecom_20",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"sectionName": "Attach Document(s)",
|
|
"multiple": true,
|
|
"sectionList": [
|
|
{
|
|
"name": "Document Name",
|
|
"id": "documentName_21",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"id": "documentDescription_21",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "text",
|
|
"validation": {
|
|
"isRequired": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Choose file",
|
|
"id": "chooseFile_22",
|
|
"depid": "",
|
|
"widget": "button",
|
|
"input": "chooseFile",
|
|
"validation": {
|
|
"isRequired": true,
|
|
"multipleFiles": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"sectionName": "Notes",
|
|
"multiple": false,
|
|
"sectionList": [
|
|
{
|
|
"name": "Comments",
|
|
"id": "notescomments_22",
|
|
"depid": "",
|
|
"widget": "text",
|
|
"input": "textArea",
|
|
"validation": {
|
|
"type": "maxchars",
|
|
"chars": "500",
|
|
"isRequired": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |