1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
3 <base>CRM/Campaign
</base>
5 <name>civicrm_survey
</name>
6 <comment>Campaign Survey Details.
</comment>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Survey id.
</comment>
18 <autoincrement>true
</autoincrement>
23 <title>Survey Title
</title>
26 <required>true
</required>
27 <comment>Title of the Survey.
</comment>
33 <name>campaign_id
</name>
34 <type>int unsigned
</type>
35 <default>NULL
</default>
36 <comment>Foreign key to the Campaign.
</comment>
38 <table>civicrm_campaign
</table>
39 <keyColumn>id
</keyColumn>
40 <labelColumn>title
</labelColumn>
45 <name>campaign_id
</name>
46 <table>civicrm_campaign
</table>
49 <onDelete>SET NULL
</onDelete>
53 <name>activity_type_id
</name>
54 <title>Activity Type ID
</title>
55 <type>int unsigned
</type>
56 <default>NULL
</default>
57 <comment>Implicit FK to civicrm_option_value where option_group = activity_type
</comment>
61 <optionGroupName>activity_type
</optionGroupName>
68 <name>UI_activity_type_id
</name>
69 <fieldName>activity_type_id
</fieldName>
74 <name>recontact_interval
</name>
76 <comment>Recontact intervals for each status.
</comment>
86 <name>instructions
</name>
88 <comment>Script instructions for volunteers to use for the survey.
</comment>
98 <name>release_frequency
</name>
99 <type>int unsigned
</type>
100 <default>NULL
</default>
101 <comment>Number of days for recurrence of release.
</comment>
106 <name>max_number_of_contacts
</name>
107 <title>Maximum number of contacts
</title>
108 <type>int unsigned
</type>
109 <default>NULL
</default>
110 <comment>Maximum number of contacts to allow for survey.
</comment>
115 <name>default_number_of_contacts
</name>
116 <title>Default number of contacts
</title>
117 <type>int unsigned
</type>
118 <default>NULL
</default>
119 <comment>Default number of contacts to allow for survey.
</comment>
124 <name>is_active
</name>
127 <comment>Is this survey enabled or disabled/cancelled?
</comment>
132 <name>is_default
</name>
135 <comment>Is this default survey?
</comment>
140 <name>created_id
</name>
141 <type>int unsigned
</type>
142 <comment>FK to civicrm_contact, who created this Survey.
</comment>
146 <name>created_id
</name>
147 <table>civicrm_contact
</table>
150 <onDelete>SET NULL
</onDelete>
154 <name>created_date
</name>
155 <type>datetime
</type>
156 <title>Campaign Created Date
</title>
157 <comment>Date and time that Survey was created.
</comment>
162 <name>last_modified_id
</name>
163 <type>int unsigned
</type>
164 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
168 <name>last_modified_id
</name>
169 <table>civicrm_contact
</table>
172 <onDelete>SET NULL
</onDelete>
176 <name>last_modified_date
</name>
177 <type>datetime
</type>
178 <comment>Date and time that Survey was edited last time.
</comment>
183 <name>result_id
</name>
184 <type>int unsigned
</type>
185 <default>NULL
</default>
186 <comment>Used to store option group id.
</comment>
190 <name>bypass_confirm
</name>
193 <comment>Bypass the email verification.
</comment>
197 <name>thankyou_title
</name>
198 <title>Thank-you Title
</title>
201 <localizable>true
</localizable>
202 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
206 <name>thankyou_text
</name>
207 <title>Thank-you Text
</title>
210 <type>TextArea
</type>
214 <localizable>true
</localizable>
215 <comment>text and html allowed. displayed above result on success page
</comment>
219 <name>is_share
</name>
220 <title>Is shared through social media
</title>
223 <comment>Can people share the petition through social media?
</comment>