show / hide menu

TextBox

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.NoProperty NameData TypeDescription
Control Name String Specifies the unique identifier for the Textbox control within a form. 
Control Type String Indicates the type of control. 
ID IntegerUniquely identifies a control in the form 
Default Value String Specifies the initial text that appears in the textbox when the form loads. 
Accept Return Boolean Determines whether the user can press Enter (Return key) to insert a new line inside the textbox. 
Place Holder String Specifies the text displayed inside an input control. 
Tooltip String Allows you to display a message when the user points (hovers) the mouse over the TextBox. 
Tab Index IntegerSpecifies the order in which the focus moves to the control when the user presses the Tab key on the keyboard. 
Remarks String Used to store additional descriptive information about the control. 
10 Max Length IntegerSpecifies 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 TextBox automatically 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-decoded before being displayed or processed. 
Style
S.NoProperty NameData TypeDescription
21 Width IntegerDetermines how wide the control appears on the form or screen. 
22 Height IntegerDetermines how tall the control appears on the form.
23 Text Alignment String Specifies how the text inside the TextBox is positioned horizontally. 
24 Margin IntegerSpecifies the space between the TextBox and other surrounding controls. 
25 Padding IntegerSpecifies 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 IntegerSpecifies 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 the border of TextBox control is visible. 
39 Template String Defines the visual structure and behavior of the control. There are two options – default and Material Design.
Attached Label
S.NoProperty NameData TypeDescription
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 IntegerSpecifies the width of the label associated with TextBox control. 
44 Label Height IntegerSpecifies 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 IntegerDefines the amount of space outside the TextBox that separates it from other controls. 
48 Padding IntegerSpecifies 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 IntegerSpecifies 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 the color 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.NoProperty NameData TypeDescription
58DataSource TypeStringSpecifies the type of the datasource associated with the control.
59Items String Defines the actual data that the table displays. 
Rules
S.NoProperty NameData TypeDescription
60Rules  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. 
61Invoke On PressBooleanSpecifies 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.NoProperty NameData TypeDescription
62 IsRequired Boolean Specifies whether input in the control is mandatory. If enabled, the user cannot save the form without providing a value. 
63Required Message String Specifies the error message displayed when the textbox is required but has no value. 
64Regular ExpressionStringSpecifies a pattern that the user’s input must match.
65Expression MessageStringProvides 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.NoProperty NameData TypeDescription
67Control Reports  Redirects to the Reports tab, displaying all configurations, rules, and datasource details associated with the selected control. 
Template
S.NoProperty NameData TypeDescription
68Inherit Template BooleanDetermines whether a control inherits a template definition from its parent control or base class.
Custom Style
S.NoProperty NameData TypeDescription
69CSS ClassStringSpecifies the CSS class or classes to apply to a control when it is rendered in HTML.
Custom Property
S.NoProperty NameData TypeDescription
70HTML AttributeStringAllows you to add or modify HTML attributes for a control when it is rendered.
Responsive Options
S.NoProperty NameData TypeDescription
53Template NameStringRepresents the template name of the control shown in the Responsive UI configuration. The template name is same as the control’s name.
54Max Width (px)IntegerSpecifies the maximum width, in pixels, that the control can occupy in the responsive form.