In my continuing journey down the path of custom site definitions, have found another nugget of knowledge that I wanted to share. This nugget is how to define the different types of multi-line text fields in a custom list.
The first type of field I will show is a multi-line plain text field:
<Field
Name="devNotes"
StaticName="devNotes"
SourceID="http://schemas.microsoft.com/sharepoint/v3"
DisplayName="Dev Notes"
Type="Note"
NumLines="6"
Required="FALSE">
</Field>
The "Type" attribute tells SharePoint that this is a multi line text field and the "NumLines" attribute tells SharePoint how many lines to show by default.
The next type of field I will show is a rich text multi-line field:
<Field
Name="devNotes"
StaticName="devNotes"
SourceID="http://schemas.microsoft.com/sharepoint/v3"
DisplayName="Dev Notes"
Type="Note"
RichText="TRUE"
NumLines="6"
Required="FALSE">
</Field>
What makes this different from the plain text field is the addition of the "RichText" field set to "TRUE" (all CAML Booleans are all capital letters).
The last type is a rich text field that allows full HTML editing:
<Field
Name="devNotes"
StaticName="devNotes"
SourceID="http://schemas.microsoft.com/sharepoint/v3"
DisplayName="Dev Notes"
Type="Note"
RichText="TRUE"
RichTextMode="FullHtml"
NumLines="6"
Required="FALSE">
</Field>
What makes this a full HTML field is the addition of the "RichTextMode" attribute with a value of "FullHtml".