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>
63 <name>UI_activity_type_id
</name>
64 <fieldName>activity_type_id
</fieldName>
69 <name>recontact_interval
</name>
71 <comment>Recontact intervals for each status.
</comment>
81 <name>instructions
</name>
83 <comment>Script instructions for volunteers to use for the survey.
</comment>
93 <name>release_frequency
</name>
94 <type>int unsigned
</type>
95 <default>NULL
</default>
96 <comment>Number of days for recurrence of release.
</comment>
101 <name>max_number_of_contacts
</name>
102 <title>Maximum number of contacts
</title>
103 <type>int unsigned
</type>
104 <default>NULL
</default>
105 <comment>Maximum number of contacts to allow for survey.
</comment>
110 <name>default_number_of_contacts
</name>
111 <title>Default number of contacts
</title>
112 <type>int unsigned
</type>
113 <default>NULL
</default>
114 <comment>Default number of contacts to allow for survey.
</comment>
119 <name>is_active
</name>
122 <comment>Is this survey enabled or disabled/cancelled?
</comment>
127 <name>is_default
</name>
130 <comment>Is this default survey?
</comment>
135 <name>created_id
</name>
136 <type>int unsigned
</type>
137 <comment>FK to civicrm_contact, who created this Survey.
</comment>
141 <name>created_id
</name>
142 <table>civicrm_contact
</table>
145 <onDelete>SET NULL
</onDelete>
149 <name>created_date
</name>
150 <type>datetime
</type>
151 <title>Campaign Created Date
</title>
152 <comment>Date and time that Survey was created.
</comment>
157 <name>last_modified_id
</name>
158 <type>int unsigned
</type>
159 <comment>FK to civicrm_contact, who recently edited this Survey.
</comment>
163 <name>last_modified_id
</name>
164 <table>civicrm_contact
</table>
167 <onDelete>SET NULL
</onDelete>
171 <name>last_modified_date
</name>
172 <type>datetime
</type>
173 <comment>Date and time that Survey was edited last time.
</comment>
178 <name>result_id
</name>
179 <type>int unsigned
</type>
180 <default>NULL
</default>
181 <comment>Used to store option group id.
</comment>
185 <name>bypass_confirm
</name>
188 <comment>Bypass the email verification.
</comment>
192 <name>thankyou_title
</name>
193 <title>Thank-you Title
</title>
196 <localizable>true
</localizable>
197 <comment>Title for Thank-you page (header title tag, and display at the top of the page).
</comment>
201 <name>thankyou_text
</name>
202 <title>Thank-you Text
</title>
205 <type>TextArea
</type>
209 <localizable>true
</localizable>
210 <comment>text and html allowed. displayed above result on success page
</comment>
214 <name>is_share
</name>
215 <title>Is shared through social media
</title>
218 <comment>Can people share the petition through social media?
</comment>