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>
41 <condition>(end_date IS NULL OR end_date
> NOW())
</condition>
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 <comment>Script instructions for volunteers to use for the survey.
</comment>
99 <name>release_frequency
</name>
100 <type>int unsigned
</type>
101 <default>NULL
</default>
102 <comment>Number of days for recurrence of release.
</comment>
107 <name>max_number_of_contacts
</name>
108 <title>Maximum number of contacts
</title>
109 <type>int unsigned
</type>
110 <default>NULL
</default>
111 <comment>Maximum number of contacts to allow for survey.
</comment>
116 <name>default_number_of_contacts
</name>
117 <title>Default number of contacts
</title>
118 <type>int unsigned
</type>
119 <default>NULL
</default>
120 <comment>Default number of contacts to allow for survey.
</comment>
125 <name>is_active
</name>
128 <comment>Is this survey enabled or disabled/cancelled?
</comment>
133 <name>is_default
</name>
136 <comment>Is this default survey?
</comment>
141 <name>created_id
</name>
142 <type>int unsigned
</type>
143 <comment>FK to civicrm_contact, who created this Survey.
</comment>
147 <name>created_id
</name>
148 <table>civicrm_contact
</table>
151 <onDelete>SET NULL
</onDelete>
155 <name>created_date
</name>
156 <type>datetime
</type>
157 <title>Campaign Created Date
</title>
158 <comment>Date and time that Survey was created.
</comment>
163 <name>last_modified_id
</name>
164 <type>int unsigned
</type>
165 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
169 <name>last_modified_id
</name>
170 <table>civicrm_contact
</table>
173 <onDelete>SET NULL
</onDelete>
177 <name>last_modified_date
</name>
178 <type>datetime
</type>
179 <comment>Date and time that Survey was edited last time.
</comment>
184 <name>result_id
</name>
185 <type>int unsigned
</type>
186 <default>NULL
</default>
187 <comment>Used to store option group id.
</comment>
191 <name>bypass_confirm
</name>
194 <comment>Bypass the email verification.
</comment>
198 <name>thankyou_title
</name>
199 <title>Thank-you Title
</title>
202 <localizable>true
</localizable>
203 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
207 <name>thankyou_text
</name>
208 <title>Thank-you Text
</title>
211 <type>TextArea
</type>
215 <localizable>true
</localizable>
216 <comment>text and html allowed. displayed above result on success page
</comment>
220 <name>is_share
</name>
221 <title>Is shared through social media
</title>
224 <comment>Can people share the petition through social media?
</comment>