required Attribute

Identifies whether this field accepts Null values.

Type

xsf:xdYesNo

Remarks

The required attribute is an optional attribute of the field element.

Values include "yes" and "no". The default value is "no".

Example

The following is an example of the required attribute as it is used in the field element:

<xsf:listProperties>
   <xsf:fields>
      <xsf:field
         type="xsd:date"
         name="TravelDate"
         columnName="TravelDate" 
         required="yes"
         viewable="yes"
         node="TravelReport/Header/travelDate"
         aggregation="first"/>
   </xsf:fields>
</xsf:listProperties>

Parent Objects | field Element