FieldRefs Element
The FieldRefs element contains a collection of FieldRef elements used to define computed fields.
Syntax
<FieldRefs>
<FieldRef></FieldRef>
<FieldRef></FieldRef>
.
.
.
</FieldRefs>
Element Relationships
Parent Elements | Child Elements |
---|---|
Field | FieldRef |
Example
The following example creates a computed field called myField that combines values of the Title and ID fields to form a hyperlink such as <a href="form.htm?ID="ID">Title</a>.
<Field Name="myField" Type="Computed">
<FieldRefs>
<FieldRef Name="Title"/>
<FieldRef Name="ID"/>
</FieldRefs>
<DisplayPattern>
<HTML><![CDATA[<a href="form.htm?ID="]]></HTML>
<Column Name="ID"/>
<HTML><![CDATA[">]]></HTML>
<Column Name="Title"/>
<HTML><![CDATA[</a>]]></HTML>
</DisplayPattern>
</Field>