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>
52 <name>campaign_id
</name>
53 <table>civicrm_campaign
</table>
56 <onDelete>SET NULL
</onDelete>
60 <name>activity_type_id
</name>
61 <title>Activity Type
</title>
62 <type>int unsigned
</type>
63 <default>NULL
</default>
64 <comment>Implicit FK to civicrm_option_value where option_group = activity_type
</comment>
68 <optionGroupName>activity_type
</optionGroupName>
75 <name>UI_activity_type_id
</name>
76 <fieldName>activity_type_id
</fieldName>
81 <name>recontact_interval
</name>
82 <title>Follow up Interval
</title>
84 <comment>Recontact intervals for each status.
</comment>
94 <name>instructions
</name>
95 <title>Instructions
</title>
97 <localizable>true
</localizable>
98 <comment>Script instructions for volunteers to use for the survey.
</comment>
100 <type>TextArea
</type>
108 <name>release_frequency
</name>
109 <title>Survey Hold Duration
</title>
110 <type>int unsigned
</type>
111 <default>NULL
</default>
112 <comment>Number of days for recurrence of release.
</comment>
117 <name>max_number_of_contacts
</name>
118 <title>Maximum number of contacts
</title>
119 <type>int unsigned
</type>
120 <default>NULL
</default>
121 <comment>Maximum number of contacts to allow for survey.
</comment>
126 <name>default_number_of_contacts
</name>
127 <title>Default number of contacts
</title>
128 <type>int unsigned
</type>
129 <default>NULL
</default>
130 <comment>Default number of contacts to allow for survey.
</comment>
135 <name>is_active
</name>
136 <title>Survey Is Active
</title>
139 <comment>Is this survey enabled or disabled/cancelled?
</comment>
144 <name>is_default
</name>
145 <title>Is Default Survey
</title>
148 <comment>Is this default survey?
</comment>
153 <name>created_id
</name>
154 <title>Created By Contact ID
</title>
155 <type>int unsigned
</type>
156 <comment>FK to civicrm_contact, who created this Survey.
</comment>
158 <label>Created By
</label>
163 <name>created_id
</name>
164 <table>civicrm_contact
</table>
167 <onDelete>SET NULL
</onDelete>
171 <name>created_date
</name>
172 <type>datetime
</type>
173 <title>Campaign Created Date
</title>
174 <comment>Date and time that Survey was created.
</comment>
179 <name>last_modified_id
</name>
180 <title>Modified By Contact ID
</title>
181 <type>int unsigned
</type>
182 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
184 <label>Modified By
</label>
189 <name>last_modified_id
</name>
190 <table>civicrm_contact
</table>
193 <onDelete>SET NULL
</onDelete>
197 <name>last_modified_date
</name>
198 <title>Survey Modified On
</title>
199 <type>datetime
</type>
200 <comment>Date and time that Survey was edited last time.
</comment>
205 <name>result_id
</name>
206 <title>Survey Result
</title>
207 <type>int unsigned
</type>
208 <default>NULL
</default>
209 <comment>Used to store option group id.
</comment>
213 <name>bypass_confirm
</name>
214 <title>No Email Verification
</title>
217 <comment>Bypass the email verification.
</comment>
221 <name>thankyou_title
</name>
222 <title>Thank-you Title
</title>
225 <localizable>true
</localizable>
226 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
230 <name>thankyou_text
</name>
231 <title>Thank-you Text
</title>
234 <type>TextArea
</type>
238 <localizable>true
</localizable>
239 <comment>text and html allowed. displayed above result on success page
</comment>
243 <name>is_share
</name>
244 <title>Is shared through social media
</title>
247 <comment>Can people share the petition through social media?
</comment>