Merge pull request #2120 from pratik-joshi/CRM-13857
[civicrm-core.git] / xml / schema / Core / UFGroup.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Core</base>
5 <class>UFGroup</class>
6 <name>civicrm_uf_group</name>
7 <comment>User framework groups. Each group represents a form which encompasses a set of fields defined in civicrm_uf_fields table. Initially will be used for CiviCRM Profile form(s). Subsequently we anticipate using this to define other public facing forms (e.g. online donation solicitation forms, mailing list preferences, etc.).</comment>
8 <add>1.1</add>
9 <log>true</log>
10 <field>
11 <name>id</name>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Unique table ID</comment>
15 <add>1.1</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>is_active</name>
23 <type>boolean</type>
24 <default>1</default>
25 <comment>Is this form currently active? If false, hide all related fields for all sharing contexts.</comment>
26 <add>1.1</add>
27 </field>
28 <field>
29 <name>group_type</name>
30 <type>varchar</type>
31 <length>255</length>
32 <import>true</import>
33 <comment>This column will store a comma separated list of the type(s) of profile fields.</comment>
34 <add>2.1</add>
35 </field>
36 <field>
37 <name>form_type</name>
38 <type>enum</type>
39 <values>CiviCRM Profile</values>
40 <comment>Type of form.</comment>
41 <drop>2.1</drop>
42 </field>
43 <field>
44 <name>title</name>
45 <type>varchar</type>
46 <length>64</length>
47 <localizable>true</localizable>
48 <required>true</required>
49 <comment>Form title.</comment>
50 <add>1.1</add>
51 </field>
bcbde5ca
AW
52 <field>
53 <name>description</name>
54 <type>text</type>
55 <title>Profile Description</title>
56 <htmlType>textarea</htmlType>
57 <rows>2</rows>
58 <cols>60</cols>
59 <comment>Optional verbose description of the profile.</comment>
60 <add>4.4</add>
61 </field>
62 <field>
6a488035
TO
63 <name>collapse_display</name>
64 <type>int unsigned</type>
65 <default>0</default>
66 <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
67 <add>1.1</add>
68 <drop>2.2</drop>
69 </field>
70 <field>
71 <name>help_pre</name>
72 <type>text</type>
73 <localizable>true</localizable>
74 <comment>Description and/or help text to display before fields in form.</comment>
75 <htmlType>textarea</htmlType>
76 <rows>4</rows>
77 <cols>80</cols>
78 <add>1.2</add>
79 </field>
80 <field>
81 <name>help_post</name>
82 <type>text</type>
83 <localizable>true</localizable>
84 <comment>Description and/or help text to display after fields in form.</comment>
85 <htmlType>textarea</htmlType>
86 <rows>4</rows>
87 <cols>80</cols>
88 <add>1.2</add>
89 </field>
90 <field>
91 <name>weight</name>
92 <type>int</type>
93 <required>true</required>
94 <default>1</default>
95 <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment>
96 <add>1.2</add>
97 <drop>1.3</drop>
98 </field>
99 <field>
100 <name>limit_listings_group_id</name>
101 <type>int unsigned</type>
102 <comment>Group id, foriegn key from civicrm_group</comment>
103 <add>1.4</add>
104 </field>
105 <foreignKey>
106 <name>limit_listings_group_id</name>
107 <table>civicrm_group</table>
108 <key>id</key>
109 <add>1.4</add>
110 <onDelete>SET NULL</onDelete>
111 </foreignKey>
112 <field>
113 <name>post_URL</name>
114 <type>varchar</type>
115 <length>255</length>
116 <comment>Redirect to URL.</comment>
117 <add>1.4</add>
118 </field>
3c7d2158 119 <field>
120 <name>add_to_group_id</name>
121 <type>int unsigned</type>
122 <comment>foreign key to civicrm_group_id</comment>
123 </field>
6a488035 124 <foreignKey>
3c7d2158 125 <name>add_to_group_id</name>
126 <table>civicrm_group</table>
127 <key>id</key>
6a488035
TO
128 <onDelete>SET NULL</onDelete>
129 </foreignKey>
130 <field>
131 <name>add_captcha</name>
132 <type>boolean</type>
133 <default>0</default>
134 <comment>Should a CAPTCHA widget be included this Profile form.</comment>
135 <add>1.1</add>
136 </field>
137 <field>
138 <name>is_map</name>
139 <type>boolean</type>
140 <default>0</default>
141 <comment>Do we want to map results from this profile.</comment>
142 <add>1.5</add>
143 </field>
144 <field>
145 <name>is_edit_link</name>
146 <type>boolean</type>
147 <default>0</default>
148 <comment>Should edit link display in profile selector</comment>
149 <add>1.6</add>
150 </field>
151 <field>
152 <name>is_uf_link</name>
153 <type>boolean</type>
154 <default>0</default>
155 <comment>Should we display a link to the website profile in profile selector</comment>
156 <add>1.7</add>
157 </field>
158 <field>
159 <name>is_update_dupe</name>
160 <type>boolean</type>
161 <default>0</default>
162 <comment>Should we update the contact record if we find a duplicate</comment>
163 <add>1.7</add>
164 </field>
165 <field>
166 <name>cancel_URL</name>
167 <type>varchar</type>
168 <length>255</length>
169 <comment>Redirect to URL when Cancle button clik .</comment>
170 <add>1.4</add>
171 </field>
172 <field>
173 <name>is_cms_user</name>
174 <type>boolean</type>
175 <default>0</default>
176 <comment>Should we create a cms user for this profile </comment>
177 <add>1.8</add>
178 </field>
179 <field>
180 <name>notify</name>
181 <type>text</type>
182 <add>1.8</add>
183 </field>
184 <field>
185 <name>is_reserved</name>
186 <type>boolean</type>
187 <comment>Is this group reserved for use by some other CiviCRM functionality?</comment>
188 <add>3.0</add>
189 </field>
190 <field>
191 <name>name</name>
192 <type>varchar</type>
193 <length>64</length>
194 <comment>Name of the UF group for directly addressing it in the codebase</comment>
195 <add>3.0</add>
196 </field>
197 <field>
198 <name>created_id</name>
199 <type>int unsigned</type>
200 <comment>FK to civicrm_contact, who created this UF group</comment>
201 <add>3.0</add>
202 </field>
203 <foreignKey>
204 <name>created_id</name>
205 <table>civicrm_contact</table>
206 <key>id</key>
207 <add>3.0</add>
208 <onDelete>SET NULL</onDelete>
209 </foreignKey>
210 <field>
211 <name>created_date</name>
212 <type>datetime</type>
213 <title>UF Group Created Date</title>
214 <comment>Date and time this UF group was created.</comment>
215 <add>3.0</add>
216 </field>
217 <field>
218 <name>is_proximity_search</name>
219 <type>boolean</type>
220 <default>0</default>
221 <comment>Should we include proximity search feature in this profile search form?</comment>
222 <add>3.2</add>
223 </field>
224</table>