New to Telerik Document ProcessingStart a free 30-day trial

Choice field with a drop‑down list; optionally allows free‑text entry when editable.

Definition

Constructors

Initializes a new instance of ComboBoxField class.

C#
public ComboBoxField(string fieldName)
Parameters:fieldNamestring

The field name.

Properties

Gets or sets the option selected when the form is reset to defaults.

C#
public ChoiceOption DefaultValue { get; set; }
Property Value:

The default choice option to be selected on form reset, or null if no default is specified.

Gets the field category reported to viewers for rendering and processing.

C#
public override FormFieldType FieldType { get; }

Overrides: FormField.FieldType

Gets or sets whether the drop‑down includes an editable text area so users can type custom values.

C#
public bool HasEditableTextBox { get; set; }
Property Value:

true if users can type custom text; false if they can only select from predefined options.

Gets or sets whether spell checking applies to text typed in the editable area.

C#
public bool ShouldSpellCheck { get; set; }
Property Value:

true to enable spell checking; false to disable it.

Gets or sets the currently selected option; when editable, may reflect user‑typed text instead of a predefined option.

C#
public ChoiceOption Value { get; set; }
Property Value:

The selected choice option, or null if no option is selected.