The Rich Text Editor available in the Field Label and other locations in REDCap provides point and click menu functionality to change the formatting of fields and surveys. The variety of fonts, sizes, colors and other functionality, however, are limited.
REDCap allows the use of some HTML and CSS in the Field Labels, Field Notes, Multiple Choice coding, and other locations. HTML and CSS allows access to a wide variety of functionality to change the look and feel of surveys. For example, here is a full list of named colors you can access!
Some basic information about HTML:
- HTML works by enclosing the text you want to format with HTML "tags".
- The tags can be included in your Section, Descriptive, Question and/or Answer texts.
- A tag is a type of instruction or command that will change the appearance of text as well as perform other functions on your REDCap forms because they are web pages.
- The tags are enclosed with greater and less than < brackets > and may be written in capital and lower case letters.
- You need to both open a tag and close it.
- You close it with the same tag but add a /
Example < center > centering text < /center >. *Do not leave spaces in tags when using the actual tag - see below for examples.
The REDCap rich text editor allows you to change
Check out this example survey for formatting ideas: https://redcap.vanderbilt.edu/surveys/?s=JA3AXMHYC7
W3 Schools also has great resources for HTML and CSS
Styles of Fonts with HTML
...
When you use the HTML code <font color="any color">Insert text here.</font>, you can get any color you want with the font. Here is a full list of named colors.
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...