Export (0) Print
Expand All
Expand Minimize

required Attribute

Office 2007

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>


Community Additions

ADD
Show:
© 2014 Microsoft