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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
| <View>
| <Style>
| input[type="text"][name^="table"] { border-radius: 0px; border-right: none;}
| input[type="text"][name^="table_metric"] { border-right: 1px solid #ddd; }
| div[class*=" TextAreaRegion_mark"] {background: none; height: 33px; border-radius: 0; min-width: 135px;}
| </Style>
|
| <Text value="$text" name="text"/>
|
| <View style="display: grid; grid-template-columns: 1fr 1fr; max-height: 300px; width: 400px">
| <TextArea name="table_name_1" toName="text" placeholder="name" editable="true" maxSubmissions="1"/>
| <TextArea name="table_value_1" toName="text" placeholder="value" editable="true" maxSubmissions="1"/>
| <TextArea name="table_name_2" toName="text" placeholder="name" editable="true" maxSubmissions="1"/>
| <TextArea name="table_value_2" toName="text" placeholder="value" editable="true" maxSubmissions="1"/>
| <TextArea name="table_name_3" toName="text" placeholder="name" editable="true" maxSubmissions="1"/>
| <TextArea name="table_value_3" toName="text" placeholder="value" editable="true" maxSubmissions="1"/>
| </View>
| </View>
|
| <!-- {
| "data": {"text": "This is a great 3D movie that delivers everything almost right in your face."},
| "annotations": [{"result":
| [
| {
| "value": {
| "text": [
| "Alice"
| ]
| },
| "id": "Uh3DTEKcZq",
| "from_name": "table_name_1",
| "to_name": "text",
| "type": "textarea"
| },
| {
| "value": {
| "text": [
| "5.0"
| ]
| },
| "id": "Q9weIvFM62",
| "from_name": "table_value_1",
| "to_name": "text",
| "type": "textarea"
| },
| {
| "value": {
| "text": [
| "Bob"
| ]
| },
| "id": "PwPeQ-vMs1",
| "from_name": "table_name_2",
| "to_name": "text",
| "type": "textarea"
| },
| {
| "value": {
| "text": [
| "4.8"
| ]
| },
| "id": "fTdtTXxMhm",
| "from_name": "table_value_2",
| "to_name": "text",
| "type": "textarea"
| },
| {
| "value": {
| "text": [
| "Carl"
| ]
| },
| "id": "UAUZ2EmYBj",
| "from_name": "table_name_3",
| "to_name": "text",
| "type": "textarea"
| },
| {
| "value": {
| "text": [
| "3.7"
| ]
| },
| "id": "ggwf1SVX4l",
| "from_name": "table_value_3",
| "to_name": "text",
| "type": "textarea"
| }
| ]
| }]
| }
| -->
|
|