# Parametric Cardinal Placement Rules

Parametric cardinal placements allow you to insert a parametric value at a particular position in a list. For example, if users restrict their queries by using a list of models of car, a parametric cardinal placement can ensure that a particular model appears at the top of the list.

The table shows all the fields that you must include in the IDX file for parametric cardinal placement rules.

Required IDX fields for parametric cardinal placement rules

Field | Description | Content type or value
--- | --- | ---
`#DREREFERENCE` | The reference for the rule. | String
`#DRETITLE` | The title of the rule. | String
`QMSTYPE` | The type of the QMS rule. | `8`
`QMSAGENTBOOL` | The AgentBoolean expression used to match the original query text. | Boolean matching expression
`QMSFIELDNAME` | The name or the parametric field. | String
`QMSFIELDVALUE` | The field value to insert in the list of results. | String
`QMSVALUE` | The position at which to insert the cardinal placement value in the results. | Number (result position)
`#DRECONTENT` | The content to match the Boolean field. | Keywords from the AgentBoolean string

You can also create parametric cardinal placement rules with field text. In this case, you must add fields to determine the FieldText rules to match against in addition to the fields for other parametric cardinal placement rules. You must also add any fields that are referenced within the FieldText as empty fields.

FieldText fields to add for parametric cardinal placement rules

Field | Description | Content type or value
--- | --- | ---
`QMSFIELDTEXT` | The FieldText rules to match against. | FieldText expression
`Referenced Fields` | All fields that are referenced in the `QMSFIELDTEXT` field must be present in the rule as a field with blank content. | Empty field

Related Topics

- Create Query Manipulation Server Rules

_FT_HTML5_bannerTitle.htm