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 <title>Survey ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Survey id.
</comment>
19 <autoincrement>true
</autoincrement>
24 <title>Survey Title
</title>
27 <required>true
</required>
28 <localizable>true
</localizable>
29 <comment>Title of the Survey.
</comment>
35 <name>campaign_id
</name>
36 <title>Survey Campaign ID
</title>
37 <type>int unsigned
</type>
38 <default>NULL
</default>
39 <comment>Foreign key to the Campaign.
</comment>
41 <table>civicrm_campaign
</table>
42 <keyColumn>id
</keyColumn>
43 <labelColumn>title
</labelColumn>
48 <name>campaign_id
</name>
49 <table>civicrm_campaign
</table>
52 <onDelete>SET NULL
</onDelete>
56 <name>activity_type_id
</name>
57 <title>Activity Type
</title>
58 <type>int unsigned
</type>
59 <default>NULL
</default>
60 <comment>Implicit FK to civicrm_option_value where option_group = activity_type
</comment>
64 <optionGroupName>activity_type
</optionGroupName>
71 <name>UI_activity_type_id
</name>
72 <fieldName>activity_type_id
</fieldName>
77 <name>recontact_interval
</name>
78 <title>Follow up Interval
</title>
80 <comment>Recontact intervals for each status.
</comment>
90 <name>instructions
</name>
91 <title>Instructions
</title>
93 <localizable>true
</localizable>
94 <comment>Script instructions for volunteers to use for the survey.
</comment>
104 <name>release_frequency
</name>
105 <title>Survey Hold Duration
</title>
106 <type>int unsigned
</type>
107 <default>NULL
</default>
108 <comment>Number of days for recurrence of release.
</comment>
113 <name>max_number_of_contacts
</name>
114 <title>Maximum number of contacts
</title>
115 <type>int unsigned
</type>
116 <default>NULL
</default>
117 <comment>Maximum number of contacts to allow for survey.
</comment>
122 <name>default_number_of_contacts
</name>
123 <title>Default number of contacts
</title>
124 <type>int unsigned
</type>
125 <default>NULL
</default>
126 <comment>Default number of contacts to allow for survey.
</comment>
131 <name>is_active
</name>
132 <title>Survey Is Active
</title>
135 <comment>Is this survey enabled or disabled/cancelled?
</comment>
140 <name>is_default
</name>
141 <title>Is Default Survey
</title>
144 <comment>Is this default survey?
</comment>
149 <name>created_id
</name>
150 <title>Survey Created By
</title>
151 <type>int unsigned
</type>
152 <comment>FK to civicrm_contact, who created this Survey.
</comment>
156 <name>created_id
</name>
157 <table>civicrm_contact
</table>
160 <onDelete>SET NULL
</onDelete>
164 <name>created_date
</name>
165 <type>datetime
</type>
166 <title>Campaign Created Date
</title>
167 <comment>Date and time that Survey was created.
</comment>
172 <name>last_modified_id
</name>
173 <title>Survey Modified
</title>
174 <type>int unsigned
</type>
175 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
179 <name>last_modified_id
</name>
180 <table>civicrm_contact
</table>
183 <onDelete>SET NULL
</onDelete>
187 <name>last_modified_date
</name>
188 <title>Survey Modified On
</title>
189 <type>datetime
</type>
190 <comment>Date and time that Survey was edited last time.
</comment>
195 <name>result_id
</name>
196 <title>Survey Result
</title>
197 <type>int unsigned
</type>
198 <default>NULL
</default>
199 <comment>Used to store option group id.
</comment>
203 <name>bypass_confirm
</name>
204 <title>No Email Verification
</title>
207 <comment>Bypass the email verification.
</comment>
211 <name>thankyou_title
</name>
212 <title>Thank-you Title
</title>
215 <localizable>true
</localizable>
216 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
220 <name>thankyou_text
</name>
221 <title>Thank-you Text
</title>
224 <type>TextArea
</type>
228 <localizable>true
</localizable>
229 <comment>text and html allowed. displayed above result on success page
</comment>
233 <name>is_share
</name>
234 <title>Is shared through social media
</title>
237 <comment>Can people share the petition through social media?
</comment>