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>
45 <name>campaign_id
</name>
46 <table>civicrm_campaign
</table>
49 <onDelete>SET NULL
</onDelete>
53 <name>activity_type_id
</name>
54 <title>Activity Type ID
</title>
55 <type>int unsigned
</type>
56 <default>NULL
</default>
57 <comment>Implicit FK to civicrm_option_value where option_group = activity_type
</comment>
61 <optionGroupName>activity_type
</optionGroupName>
65 <name>UI_activity_type_id
</name>
66 <fieldName>activity_type_id
</fieldName>
71 <name>recontact_interval
</name>
73 <comment>Recontact intervals for each status.
</comment>
74 <htmlType>textarea
</htmlType>
81 <name>instructions
</name>
83 <comment>Script instructions for volunteers to use for the survey.
</comment>
84 <htmlType>textarea
</htmlType>
91 <name>release_frequency
</name>
92 <type>int unsigned
</type>
93 <default>NULL
</default>
94 <comment>Number of days for recurrence of release.
</comment>
99 <name>max_number_of_contacts
</name>
100 <title>Maximum number of contacts
</title>
101 <type>int unsigned
</type>
102 <default>NULL
</default>
103 <comment>Maximum number of contacts to allow for survey.
</comment>
108 <name>default_number_of_contacts
</name>
109 <title>Default number of contacts
</title>
110 <type>int unsigned
</type>
111 <default>NULL
</default>
112 <comment>Default number of contacts to allow for survey.
</comment>
117 <name>is_active
</name>
120 <comment>Is this survey enabled or disabled/cancelled?
</comment>
125 <name>is_default
</name>
128 <comment>Is this default survey?
</comment>
133 <name>created_id
</name>
134 <type>int unsigned
</type>
135 <comment>FK to civicrm_contact, who created this Survey.
</comment>
139 <name>created_id
</name>
140 <table>civicrm_contact
</table>
143 <onDelete>SET NULL
</onDelete>
147 <name>created_date
</name>
148 <type>datetime
</type>
149 <title>Campaign Created Date
</title>
150 <comment>Date and time that Survey was created.
</comment>
155 <name>last_modified_id
</name>
156 <type>int unsigned
</type>
157 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
161 <name>last_modified_id
</name>
162 <table>civicrm_contact
</table>
165 <onDelete>SET NULL
</onDelete>
169 <name>last_modified_date
</name>
170 <type>datetime
</type>
171 <comment>Date and time that Survey was edited last time.
</comment>
176 <name>result_id
</name>
177 <type>int unsigned
</type>
178 <default>NULL
</default>
179 <comment>Used to store option group id.
</comment>
183 <name>bypass_confirm
</name>
186 <comment>Bypass the email verification.
</comment>
190 <name>thankyou_title
</name>
191 <title>Thank-you Title
</title>
194 <localizable>true
</localizable>
195 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
199 <name>thankyou_text
</name>
200 <title>Thank-you Text
</title>
202 <htmlType>textarea
</htmlType>
205 <localizable>true
</localizable>
206 <comment>text and html allowed. displayed above result on success page
</comment>
210 <name>is_share
</name>
211 <title>Is shared through social media
</title>
214 <comment>Can people share the petition through social media?
</comment>