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 <localizable>true
</localizable>
28 <comment>Title of the Survey.
</comment>
34 <name>campaign_id
</name>
35 <type>int unsigned
</type>
36 <default>NULL
</default>
37 <comment>Foreign key to the Campaign.
</comment>
39 <table>civicrm_campaign
</table>
40 <keyColumn>id
</keyColumn>
41 <labelColumn>title
</labelColumn>
46 <name>campaign_id
</name>
47 <table>civicrm_campaign
</table>
50 <onDelete>SET NULL
</onDelete>
54 <name>activity_type_id
</name>
55 <title>Activity Type ID
</title>
56 <type>int unsigned
</type>
57 <default>NULL
</default>
58 <comment>Implicit FK to civicrm_option_value where option_group = activity_type
</comment>
62 <optionGroupName>activity_type
</optionGroupName>
69 <name>UI_activity_type_id
</name>
70 <fieldName>activity_type_id
</fieldName>
75 <name>recontact_interval
</name>
77 <comment>Recontact intervals for each status.
</comment>
87 <name>instructions
</name>
89 <localizable>true
</localizable>
90 <comment>Script instructions for volunteers to use for the survey.
</comment>
100 <name>release_frequency
</name>
101 <type>int unsigned
</type>
102 <default>NULL
</default>
103 <comment>Number of days for recurrence of release.
</comment>
108 <name>max_number_of_contacts
</name>
109 <title>Maximum number of contacts
</title>
110 <type>int unsigned
</type>
111 <default>NULL
</default>
112 <comment>Maximum number of contacts to allow for survey.
</comment>
117 <name>default_number_of_contacts
</name>
118 <title>Default number of contacts
</title>
119 <type>int unsigned
</type>
120 <default>NULL
</default>
121 <comment>Default number of contacts to allow for survey.
</comment>
126 <name>is_active
</name>
129 <comment>Is this survey enabled or disabled/cancelled?
</comment>
134 <name>is_default
</name>
137 <comment>Is this default survey?
</comment>
142 <name>created_id
</name>
143 <type>int unsigned
</type>
144 <comment>FK to civicrm_contact, who created this Survey.
</comment>
148 <name>created_id
</name>
149 <table>civicrm_contact
</table>
152 <onDelete>SET NULL
</onDelete>
156 <name>created_date
</name>
157 <type>datetime
</type>
158 <title>Campaign Created Date
</title>
159 <comment>Date and time that Survey was created.
</comment>
164 <name>last_modified_id
</name>
165 <type>int unsigned
</type>
166 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
170 <name>last_modified_id
</name>
171 <table>civicrm_contact
</table>
174 <onDelete>SET NULL
</onDelete>
178 <name>last_modified_date
</name>
179 <type>datetime
</type>
180 <comment>Date and time that Survey was edited last time.
</comment>
185 <name>result_id
</name>
186 <type>int unsigned
</type>
187 <default>NULL
</default>
188 <comment>Used to store option group id.
</comment>
192 <name>bypass_confirm
</name>
195 <comment>Bypass the email verification.
</comment>
199 <name>thankyou_title
</name>
200 <title>Thank-you Title
</title>
203 <localizable>true
</localizable>
204 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
208 <name>thankyou_text
</name>
209 <title>Thank-you Text
</title>
212 <type>TextArea
</type>
216 <localizable>true
</localizable>
217 <comment>text and html allowed. displayed above result on success page
</comment>
221 <name>is_share
</name>
222 <title>Is shared through social media
</title>
225 <comment>Can people share the petition through social media?
</comment>