# standardize_fields

The `standardize_fields` function runs the `Standardizer` task, which renames document fields so that they follow a standard naming scheme. This ensures that documents indexed into IDOL Server use consistent field names.

To use this function, you must set the EnableFieldNameStandardization and FieldNameDictionaryPath configuration parameters in the `[ImportService]` section of the CFS configuration file.

## Syntax

    standardize_fields( doc )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) The document to modify.

## Returns

Boolean. Returns `true` if the task is successful. Returns `false` if the task fails.

_FT_HTML5_bannerTitle.htm