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>
40 <name>campaign_id
</name>
41 <table>civicrm_campaign
</table>
44 <onDelete>SET NULL
</onDelete>
48 <name>activity_type_id
</name>
49 <title>Activity Type ID
</title>
50 <type>int unsigned
</type>
51 <default>NULL
</default>
52 <comment>Implicit FK to civicrm_option_value where option_group = activity_type
</comment>
56 <optionGroupName>activity_type
</optionGroupName>
60 <name>UI_activity_type_id
</name>
61 <fieldName>activity_type_id
</fieldName>
66 <name>recontact_interval
</name>
68 <comment>Recontact intervals for each status.
</comment>
69 <htmlType>textarea
</htmlType>
76 <name>instructions
</name>
78 <comment>Script instructions for volunteers to use for the survey.
</comment>
79 <htmlType>textarea
</htmlType>
86 <name>release_frequency
</name>
87 <type>int unsigned
</type>
88 <default>NULL
</default>
89 <comment>Number of days for recurrence of release.
</comment>
94 <name>max_number_of_contacts
</name>
95 <title>Maximum number of contacts
</title>
96 <type>int unsigned
</type>
97 <default>NULL
</default>
98 <comment>Maximum number of contacts to allow for survey.
</comment>
103 <name>default_number_of_contacts
</name>
104 <title>Default number of contacts
</title>
105 <type>int unsigned
</type>
106 <default>NULL
</default>
107 <comment>Default number of contacts to allow for survey.
</comment>
112 <name>is_active
</name>
115 <comment>Is this survey enabled or disabled/cancelled?
</comment>
120 <name>is_default
</name>
123 <comment>Is this default survey?
</comment>
128 <name>created_id
</name>
129 <type>int unsigned
</type>
130 <comment>FK to civicrm_contact, who created this Survey.
</comment>
134 <name>created_id
</name>
135 <table>civicrm_contact
</table>
138 <onDelete>SET NULL
</onDelete>
142 <name>created_date
</name>
143 <type>datetime
</type>
144 <title>Campaign Created Date
</title>
145 <comment>Date and time that Survey was created.
</comment>
150 <name>last_modified_id
</name>
151 <type>int unsigned
</type>
152 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
156 <name>last_modified_id
</name>
157 <table>civicrm_contact
</table>
160 <onDelete>SET NULL
</onDelete>
164 <name>last_modified_date
</name>
165 <type>datetime
</type>
166 <comment>Date and time that Survey was edited last time.
</comment>
171 <name>result_id
</name>
172 <type>int unsigned
</type>
173 <default>NULL
</default>
174 <comment>Used to store option group id.
</comment>
178 <name>bypass_confirm
</name>
181 <comment>Bypass the email verification.
</comment>
185 <name>thankyou_title
</name>
186 <title>Thank-you Title
</title>
189 <localizable>true
</localizable>
190 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
194 <name>thankyou_text
</name>
195 <title>Thank-you Text
</title>
197 <htmlType>textarea
</htmlType>
200 <localizable>true
</localizable>
201 <comment>text and html allowed. displayed above result on success page
</comment>
205 <name>is_share
</name>
206 <title>Is shared through social media
</title>
209 <comment>Can people share the petition through social media?
</comment>