-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreateNewForm.json
53 lines (53 loc) · 1.11 KB
/
createNewForm.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "A required name for this new form.",
"tags": "optionalTag1, optionalTag2",
"fields": [
{
"name": "A String Field",
"type": "String",
"defaultValue": "An optional default value"
},
{
"name": "text FormField Example",
"type": "Text",
"defaultValue": "Some placeholder text,can be simple <em>HTML</em>"
},
{
"name": "Number FormField Example",
"type": "Number",
"defaultValue": 23,
"min": 0
},
{
"name": "Choice FormField Example",
"type": "Choice",
"multipleChoice": true,
"options": [
"antibody1",
"antibody2",
"antibody3"
],
"defaultOptions": [
"antibody2",
"antibody3"
]
},
{
"name": "Radio FormField Example",
"type": "Radio",
"options": [
"antibody1",
"antibody2",
"antibody3"
],
"defaultOption": "antibody2"
},
{
"name": "date FormField Example",
"type": "Date",
"defaultValue": "2018-03-21",
"min": "2018-02-21",
"max": "2018-04-21"
}
]
}