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>
8 <icon>fa-clipboard
</icon>
9 <labelField>title
</labelField>
10 <component>CiviCampaign
</component>
13 <title>Survey ID
</title>
14 <type>int unsigned
</type>
15 <required>true
</required>
16 <comment>Survey id.
</comment>
24 <autoincrement>true
</autoincrement>
29 <title>Survey Title
</title>
32 <required>true
</required>
33 <localizable>true
</localizable>
34 <comment>Title of the Survey.
</comment>
40 <name>campaign_id
</name>
41 <title>Campaign ID
</title>
42 <type>int unsigned
</type>
43 <default>NULL
</default>
44 <comment>Foreign key to the Campaign.
</comment>
46 <type>EntityRef
</type>
47 <label>Campaign
</label>
51 <table>civicrm_campaign
</table>
52 <keyColumn>id
</keyColumn>
53 <labelColumn>title
</labelColumn>
54 <prefetch>FALSE
</prefetch>
58 <name>campaign_id
</name>
59 <table>civicrm_campaign
</table>
62 <onDelete>SET NULL
</onDelete>
66 <name>activity_type_id
</name>
67 <title>Activity Type
</title>
68 <type>int unsigned
</type>
69 <default>NULL
</default>
70 <comment>Implicit FK to civicrm_option_value where option_group = activity_type
</comment>
74 <optionGroupName>activity_type
</optionGroupName>
81 <name>UI_activity_type_id
</name>
82 <fieldName>activity_type_id
</fieldName>
87 <name>recontact_interval
</name>
88 <title>Follow up Interval
</title>
90 <comment>Recontact intervals for each status.
</comment>
100 <name>instructions
</name>
101 <title>Instructions
</title>
103 <localizable>true
</localizable>
104 <comment>Script instructions for volunteers to use for the survey.
</comment>
106 <type>TextArea
</type>
114 <name>release_frequency
</name>
115 <title>Survey Hold Duration
</title>
116 <type>int unsigned
</type>
117 <default>NULL
</default>
118 <comment>Number of days for recurrence of release.
</comment>
123 <name>max_number_of_contacts
</name>
124 <title>Maximum number of contacts
</title>
125 <type>int unsigned
</type>
126 <default>NULL
</default>
127 <comment>Maximum number of contacts to allow for survey.
</comment>
132 <name>default_number_of_contacts
</name>
133 <title>Default number of contacts
</title>
134 <type>int unsigned
</type>
135 <default>NULL
</default>
136 <comment>Default number of contacts to allow for survey.
</comment>
141 <name>is_active
</name>
142 <title>Survey Is Active
</title>
145 <comment>Is this survey enabled or disabled/cancelled?
</comment>
150 <name>is_default
</name>
151 <title>Is Default Survey
</title>
154 <comment>Is this default survey?
</comment>
159 <name>created_id
</name>
160 <title>Created By Contact ID
</title>
161 <type>int unsigned
</type>
162 <comment>FK to civicrm_contact, who created this Survey.
</comment>
164 <label>Created By
</label>
169 <name>created_id
</name>
170 <table>civicrm_contact
</table>
173 <onDelete>SET NULL
</onDelete>
177 <name>created_date
</name>
178 <type>datetime
</type>
179 <title>Campaign Created Date
</title>
180 <comment>Date and time that Survey was created.
</comment>
185 <name>last_modified_id
</name>
186 <title>Modified By Contact ID
</title>
187 <type>int unsigned
</type>
188 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
190 <label>Modified By
</label>
195 <name>last_modified_id
</name>
196 <table>civicrm_contact
</table>
199 <onDelete>SET NULL
</onDelete>
203 <name>last_modified_date
</name>
204 <title>Survey Modified On
</title>
205 <type>datetime
</type>
206 <comment>Date and time that Survey was edited last time.
</comment>
211 <name>result_id
</name>
212 <title>Survey Result
</title>
213 <type>int unsigned
</type>
214 <default>NULL
</default>
215 <comment>Used to store option group id.
</comment>
219 <name>bypass_confirm
</name>
220 <title>No Email Verification
</title>
223 <comment>Bypass the email verification.
</comment>
227 <name>thankyou_title
</name>
228 <title>Thank-you Title
</title>
231 <localizable>true
</localizable>
232 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
236 <name>thankyou_text
</name>
237 <title>Thank-you Text
</title>
240 <type>TextArea
</type>
244 <localizable>true
</localizable>
245 <comment>text and html allowed. displayed above result on success page
</comment>
249 <name>is_share
</name>
250 <title>Is shared through social media
</title>
253 <comment>Can people share the petition through social media?
</comment>