The TextBox control allows users to enter text. By default, the TextMode is set to SingleLine, displaying a single-line text box. When the AcceptReturn property is enabled, the TextBox supports MultiLine text entry, allowing users to enter multiple lines of text.
Properties
General
S.No
Property Name
Data Type
Description
1
Control Name
String
Specifies the unique identifier for the Textbox control within a form.
2
Control Type
String
Indicates the type of control.
3
ID
Integer
Uniquely identifies a control in the form
4
Default Value
String
Specifies the initial text that appears in the textbox when the form loads.
5
Accept Return
Boolean
Determines whether the user can press Enter (Return key) to insert a new line inside the textbox.
6
Place Holder
String
Specifies the text displayed inside an input control.
7
Tooltip
String
Allows you to display a message when the user points (hovers) the mouse over the TextBox.
8
Tab Index
Integer
Specifies the order in which the focus moves to the control when the user presses the Tab key on the keyboard.
9
Remarks
String
Used to store additional descriptive information about the control.
10
Max Length
Integer
Specifies the maximum number of characters the user is allowed to type into the TextBox.
11
Allow XML
Boolean
Determines whether a TextBox control can accept and process XML content as input.
12
Text Case
String
Determines how the text entered by the user is automatically formatted.
13
PreValue
String
Specifies a default or initial value that a control holds before the user enters any input.
14
Post Value
String
Holds the value of the TextBox after user input has been entered.
15
FormatForNegativeNumber
String
Specifies how negative numbers are displayed in a numeric or text control.
16
Enable Spell Check
Boolean
Determines whether the control automatically checks the spelling of the text entered by the user.
17
CheckDirty
Boolean
Indicates whether the text in the control has been changed by the user.
18
AutoHeight
Boolean
Determines whether the height of the TextBoxautomatically adjusts to fit its contents or font size.
19
Encode Value
Boolean
Specifies whether the text value of a control should be HTML-encoded before being displayed or rendered.
20
Decode Value
Boolean
Specifies whether the text (value) of a TextBox should be HTML-decodedbefore being displayed or processed.
Style
S.No
Property Name
Data Type
Description
21
Width
Integer
Determines how wide the control appears on the form or screen.
22
Height
Integer
Determines how tall the control appears on the form.
23
Text Alignment
String
Specifies how the text inside the TextBox is positioned horizontally.
24
Margin
Integer
Specifies the space between the TextBox and other surrounding controls.
25
Padding
Integer
Specifies the space between the border and the text inside it.
26
Box Shadow
String
Defines a shadow effect (blur, color, offset) that appears around the edges of control.
27
Enable Custom Font
Boolean
Allows you to enable or disable the use of a custom font for a textbox.
28
Font
String
Specifies the style, size, and appearance of the text displayed inside the TextBox.
29
Font Size
Integer
Specifies the size of the text displayed inside the TextBox.
30
Font Color
String
Specifies the color of the text displayed inside the TextBox.
31
Background Color
String
Specifies the color of the area behind the text inside the TextBox.
32
Visible
Boolean
Determines whether the TextBox is displayed to the user on the form.
33
Enable
Boolean
Determines whether the user can interact with or edit the TextBox.
34
Bold
Boolean
Specifies whether the text displayed inside the TextBox is bold.
35
Italic
Boolean
Specifies whether the text displayed inside the TextBox is italicized.
36
Underline
Boolean
Determines whether the text inside a TextBox has an underline style or visual line beneath it.
37
Corner Radius
Integer
Controls how rounded the corners of a TextBox appear.
38
Enable Border
Boolean
Determines whether theborder of TextBox control is visible.
39
Template
String
Defines thevisual structure and behavior of the control. There are two options – default and Material Design.
Attached Label
S.No
Property Name
Data Type
Description
40
Show Label
Boolean
Determines whether a label associated with the TextBox is displayed on the form.
41
Label Text
String
Specifies the text displayed on the label associated with that TextBox.
42
Label Position
String
Specifies where the label associated with a TextBox is displayed.
43
Label Width
Integer
Specifies the width of the label associated with TextBox control.
44
Label Height
Integer
Specifies the height of the label associated with TextBox control.
45
Text Alignment
String
Specifies how the text inside a TextBox is positioned horizontally.
46
VTextAlignment
String
Determines how the text is aligned vertically inside a TextBox.
47
Margin
Integer
Defines the amount of space outside the TextBox that separates it from other controls.
48
Padding
Integer
Specifies the space between the content (text) of the TextBox and its borders.
49
Box Shadow
String
Defines a shadow effect around the TextBox.
50
Font
String
Determines the font of the text inside the TextBox.
51
Font Size
Integer
Specifies the size of the text displayed inside the TextBox.
52
Bold
Boolean
Specifies whether the text inside the TextBox is displayed in bold.
53
Italic
Boolean
Specifies whether the text inside the TextBox is displayed in italic.
54
Underline
Boolean
Specifies whether the text inside the TextBox is displayed with an underline.
55
Font Color
String
Specifies thecolor of the text displayed inside the TextBox.
56
Background Color
String
Specifies the color of the area behind the text inside the TextBox.
57
Enable Border
Boolean
Determines whether the border of a TextBox is visible.
DataSource
S.No
Property Name
Data Type
Description
58
DataSource Type
String
Specifies the type of the datasource associated with the control.
59
Items
String
Definesthe actual data that the table displays.
Rules
S.No
Property Name
Data Type
Description
60
Rules
After selecting the control, if the user clicks the Rules tab it will be expanded and displays a Rules property. Create Rule can be selected from a drop-down list. On clicking the Create Rule link button will navigate the user to the Rules Engine. The same control will be added as a trigger by default to execute the Rule.
61
Invoke On Press
Boolean
Specifies whether an event or action tied to the TextBox should be triggered immediately when a key is pressed, rather than waiting for the user to finish typing or move focus away.
Validation
S.No
Property Name
Data Type
Description
62
IsRequired
Boolean
Specifies whether input in the control is mandatory. If enabled, the user cannot save the form without providing a value.
63
Required Message
String
Specifies the error message displayed when the textbox is required but has no value.
64
Regular Expression
String
Specifies a pattern that the user’s input must match.
65
Expression Message
String
Provides guidance to users when their input is invalid.
66
Message Position
String
Defines the location where a message is displayed relative to the TextBox.
Reports
S.No
Property Name
Data Type
Description
67
Control Reports
Redirects to the Reports tab, displaying all configurations, rules, and datasource details associated with the selected control.
Template
S.No
Property Name
Data Type
Description
68
Inherit Template
Boolean
Determines whether a control inherits a template definition from its parent control or base class.
Custom Style
S.No
Property Name
Data Type
Description
69
CSS Class
String
Specifies the CSS class or classes to apply to a control when it is rendered in HTML.
Custom Property
S.No
Property Name
Data Type
Description
70
HTML Attribute
String
Allows you to add or modify HTML attributes for a control when it is rendered.
Responsive Options
S.No
Property Name
Data Type
Description
53
Template Name
String
Represents the template name of the control shown in the Responsive UI configuration. The template name is same as the control’s name.
54
Max Width (px)
Integer
Specifies the maximum width, in pixels, that the control can occupy in the responsive form.