Difference between revisions of "SurveyCTO HTML Input"

Jump to: navigation, search
(Created page with "== Best Practice == SurveyCTO lets you change the format of question text using basic HTML commands. In some surveys it can be useful to highlight different parts of text in...")
 
Line 1: Line 1:
 
== Best Practice ==  
 
== Best Practice ==  
SurveyCTO lets you change the format of question text using basic HTML commands. In some surveys it can be useful to highlight different parts of text in bold or a different color, either for a set of repeating questions where the text changes slightly or for a block of text that is particularly important.  
+
SurveyCTO lets you change the format of question text using basic HTML commands. In some surveys it can be useful to highlight different parts of text in bold or a different color, either for a set of repeating questions where the text changes slightly or for a block of text that is particularly important. Some potential uses could be:
 
+
* It is probably better to display repeating questions such as: "How much cabbage did you cultivate on plot 3 during the rainy season?' as "How much '''cabbage''' did you cultivate on '''plot 3''' during the '''rainy''' season?"
It is probably better to display questions such as:
+
* Enumerator instructions can be highlighted in different colors. E.g. " <font color="red"> * IMPORTANT * </font> Don't forget to..."
"How much cabbage did you cultivate on plot 3 during the rainy season?"
 
like:
 
"How much '''cabbage''' did you cultivate on '''plot 3''' during the '''rainy''' season?"
 
  
 
=== Commands ===
 
=== Commands ===
The following commands should enclose the text you want to highlight in this format: <$> text here </$>, where the '$' should be replaced by:
+
The following commands should enclose the text you want to highlight in this format: <code> <$> text here </$></code>, where the '$' should be replaced by:
 
* Bold: 'b'
 
* Bold: 'b'
 
* Italic: 'i'  
 
* Italic: 'i'  

Revision as of 06:42, 26 February 2018

Best Practice

SurveyCTO lets you change the format of question text using basic HTML commands. In some surveys it can be useful to highlight different parts of text in bold or a different color, either for a set of repeating questions where the text changes slightly or for a block of text that is particularly important. Some potential uses could be:

  • It is probably better to display repeating questions such as: "How much cabbage did you cultivate on plot 3 during the rainy season?' as "How much cabbage did you cultivate on plot 3 during the rainy season?"
  • Enumerator instructions can be highlighted in different colors. E.g. " * IMPORTANT * Don't forget to..."

Commands

The following commands should enclose the text you want to highlight in this format: <$> text here </$>, where the '$' should be replaced by:

  • Bold: 'b'
  • Italic: 'i'
  • Colors: 'font color="red"' then 'font'

More examples can be found here

Back to Parent

This article is part of the topic SurveyCTO Coding Practices