# NewField

The `<NewField>` element builds a new field but does not immediately change the document metadata. Normally the AddField element is preferred because it is simpler to use and immediately adds the new field in the current field context.

You can use the `<NewField>` element to ensure that subsequent standardizer operations do not interact with and modify the new field. The `<NewField>` element creates the field in virtual document metadata, separate from the actual document metadata. The content of the field can still be manipulated by child operations like AddField, SetValue, and SetAttribute.

Add the new field to the document by referencing its `id` attribute in the `srcId` attribute of a `<Move>` operation. Alternatively, define a `<Move>` operation with a `destId` attribute as a child operation of the `<NewField>` element.

Attribute | Description
--- | ---
`id` | An identifier for the new field.
`name` | The name of the new field.
`value` | The value of the new field.

The following example adds a field named "newField" with the value "newValue":

    <FieldStandardization>
        <NewField id="fieldID" name="newField" value="newValue">
             <SetAttribute name="newAttribute" value="true" />
        </NewField>
        <Move srcId="fieldID" />
    </FieldStandardization>

_FT_HTML5_bannerTitle.htm