ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
typenamelabel::en
required
relevant
appearance
read_only
constraint
constraint_message::en
calculation
choice_filter
hint::endefault
2
begin groupinputsNO_LABELFALSE
3
begin groupuserNO_LABEL
4
stringcontact_idContact ID of the logged in user
5
stringfacility_idPlace ID of the logged in user
6
stringnameName of the logged in user
7
end group
8
end group
9
10
begin groupinitNO_LABEL
Cannot be inside the person group without having all fields saved to person. And needs separate db-objects because cannot have one that handles the different place types. Last part is now incorrect... as long as it is read only it could be a string of appearance db-object and work fine.
11
stringparent_idBelongs Todb-objecttrue${parent}${type_label}
12
stringnameNO_LABELhidden
13
stringcontact_typeNO_LABELhidden
14
select_one place_type
type_selectorNO_LABELhidden../contact_type
15
calculatetype_label
jr:choice-name(${type_selector},'${type_selector}')
16
end group
17
18
begin groupteam_leadNO_LABEL
19
hiddenparentParent IDPARENT
20
hiddentypePerson Typeperson
21
stringfirst_nameFirst Nameyes
22
stringlast_nameSurnameyes
23
calculatenameNO_LABELjoin(' ',${first_name}, ${last_name})
24
stringemailEmail Addressyes
25
telphoneCell NumberTRUE
Please enter a valid local number, or use the standard international format, which includes a plus sign (+) and country code. For example: +254712345678
26
hiddenroleNO_LABEL
team_lead
27
begin groupmetaNO_LABELhidden
28
calculatecreated_by../../../inputs/user/name
29
calculate
created_by_person_uuid
../../../inputs/user/contact_id
30
calculate
created_by_place_uuid
../../../inputs/user/facility_id
31
end group
32
end group
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
94
95
96
97
98
99
100