Merge pull request #3066 from relldoesphp/CRM-14466
[civicrm-core.git] / xml / schema / Campaign / Survey.xml
index cca12a42aaf4f10bfb9deb6fbf4548b44da6436b..e85b1eeb13e947515f82a4a6486903f21f13549b 100644 (file)
@@ -24,6 +24,7 @@
       <type>varchar</type>
       <length>255</length>
       <required>true</required>
+      <localizable>true</localizable>
       <comment>Title of the Survey.</comment>
       <import>true</import>
       <add>3.3</add>
@@ -51,7 +52,7 @@
 
   <field>
     <name>activity_type_id</name>
-    <title>Activity Type ID</title>
+    <title>Activity Type</title>
     <type>int unsigned</type>
     <default>NULL</default>
     <comment>Implicit FK to civicrm_option_value where option_group = activity_type</comment>
@@ -60,6 +61,9 @@
     <pseudoconstant>
       <optionGroupName>activity_type</optionGroupName>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <index>
     <name>UI_activity_type_id</name>
     <name>recontact_interval</name>
     <type>text</type>
     <comment>Recontact intervals for each status.</comment>
-    <htmlType>textarea</htmlType>
-    <rows>20</rows>
-    <cols>80</cols>
+    <html>
+      <type>TextArea</type>
+      <rows>20</rows>
+      <cols>80</cols>
+    </html>
     <add>3.3</add>
   </field>
 
   <field>
     <name>instructions</name>
     <type>text</type>
+    <localizable>true</localizable>
     <comment>Script instructions for volunteers to use for the survey.</comment>
-    <htmlType>textarea</htmlType>
-    <rows>20</rows>
-    <cols>80</cols>
+    <html>
+      <type>TextArea</type>
+      <rows>20</rows>
+      <cols>80</cols>
+    </html>
     <add>3.3</add>
   </field>
 
     <name>thankyou_text</name>
     <title>Thank-you Text</title>
     <type>text</type>
-    <htmlType>textarea</htmlType>
-    <rows>8</rows>
-    <cols>60</cols>
+    <html>
+      <type>TextArea</type>
+      <rows>8</rows>
+      <cols>60</cols>
+    </html>
     <localizable>true</localizable>
     <comment>text and html allowed. displayed above result on success page</comment>
     <add>4.2</add>