npsFieldOption

The npsFieldOption element serves to assign available values to (multi-)selection fields that were created using the npsField element:

<npsField type="select" ... >
    <npsFieldOption value="the value" label="label text" selected="preselected" />
    <npsFieldOption ... />
    ...
</npsField>
  • the value is the option value.
  • label text is the text that is displayed for the option. If the attribute label has not been specified, the value is used instead.
  • preselected may be true or false (the default) and specifies whether this option is selected when the field is displayed.