New to Telerik Document ProcessingStart a free 30-day trial

Text input field supporting single or multiline entry, optional password masking, file path selection, scrolling, and length limits.

Definition

Constructors

Create a text box field with the specified fieldName.

C#
public TextBoxField(string fieldName)
Parameters:fieldNamestring

The field name.

Properties

Whether overflowing content may scroll; when false input is clipped to the widget rectangle.

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

true to allow scrolling for content overflow; false to restrict text input to the visible widget rectangle.

Form field type identifier (TextBox) used during export and processing.

C#
public override FormFieldType FieldType { get; }

Overrides: FormField.FieldType

Whether the field captures a file system path whose contents are submitted.

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

true if the field should allow file selection; false for regular text input.

Whether multiple lines (with line breaks) are accepted.

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

true to allow multiline text entry; false for single-line text input only.

Whether input is obscured (password mode) in the viewer.

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

true if it is a password; otherwise false.

Maximum allowed character count; null removes the limit.

C#
public int? MaxLengthOfInputCharacters { get; set; }
Property Value:

The maximum character limit, or null to allow unlimited text input.

Whether spell checking is enabled by supporting viewers.

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

true to enable spell checking; false to disable spell checking for this field.