> For the complete documentation index, see [llms.txt](https://community-test.logicnets.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community-test.logicnets.com/release-9/platform-documentation/form-node-parts/text-input-numeric-input.md).

# Text Input, Numeric Input

## Description

The text input and numeric input parts allows application users to enter responses/information. LogicNets uses the same part editor for both text and numeric values, and the options available are explained below.

## Use

The text/numeric input part allows you to present a field where users can enter a single line of text as well as free text, numbers, or currency amounts into an application. The system writes the entered value in the application context.

Because of the underlying code, you should not use the following words in a data object name: *and*, *break*, *do*, *else*, *elseif*, *end*, *false*, *for*, *function*, *if*, *in*, *local*, *nil*, *not*, *or*, *repeat*, *return*, *then*, *true*, *until*, *while.*

### Route on Output in Assessment Framework Applications

Use this feature to determine the user experience when answering questions. With route on output unchecked, any subsequent questions will appear on screen at the same time and the user can answer in any order. For a more structured step-by-step user experience, connect the *\_unanswered* leg of a text or numeric input(with route on output enabled) to the STOP node (or an empty process node) to cause the UI to stop here until the question is answered. In version 8.1+, the same feature is available for radio lists, dropdowns, and checklists.

## Editor Fields

### Basic Tab Options

| Field Name         | Description/Use                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | <p>Type/<br>Options</p>                                          | <p>Optional/<br>Mandatory</p> |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------------- |
| HTML enabled       | When this option is enabled the question caption can be formatted using HTML.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Yes \| No                                                        | Optional                      |
| Question           | This is the caption that displays in front of the text input field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | Text                                                             | Optional                      |
| Data Object        | This is the name of the data object in which the user input will be stored.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Data Object                                                      | Mandatory                     |
| Route on Output    | <p>If you select this field the system will follow the path to the next step based on the selection the user makes.<br>(v8+) The default leg is renamed <em>\_unanswered</em> to be consistent with the checklist implementation of this feature.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Checkbox                                                         | Optional                      |
| ToolTip            | This is the text the system displays when a user hovers their mouse over the text input field. This can be used to provide additional information or guidance to the user when they are filling in the field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Text                                                             | Optional                      |
| Placeholder        | This is information that displays in the input field before the user enters data. This can provide users a hint about what to enter in the field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Text                                                             | Optional                      |
| Input Mask (RegEx) | <p>This field allows you to set input constraints on a TEXT input field according to your requirements.<br>The system enables the text field masking requirements if you enter a JavaScript regular expression (regex) in this <em>Input Mask (RegEx)</em> field. If the field does not contain regex, then the text the input field is unaffected.<br>IMPORTANT: This feature is only available with <strong>data object type = text</strong>, but note that you can set a regex expression to only allow numbers - the following example allows for any length of input but will mask (prevent) the user from entering any other numbers characters or symbols except 0, 1, 2, 3, 4 or 5<br><code>^\[0-5]\*$</code><br>Any "number" inputs are saved in the context as text<br><img src="https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-92935828f148f7fec5f2509cd957b4402b718f48%2F118043fa-c35c-4812-8ba4-051a2b21062a.png?alt=media" alt=""><br>Note: You can use the ‘Placeholder’ field to provide your users with a hint about the required mask format. <a href="/release-9/example-gallery/example-projects-for-parts/text-input-masking.md">Here</a> is an example project for this functionality.</p> | Text                                                             | Optional                      |
| Hint               | The contents of this field appear in subtext just below the input box, and is typically used to display additional information about the input on screen all the time. (For additional information that you want displayed only when the user needs, consider using the Help Content References (in Assessment Framework).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | Text                                                             | Optional                      |
| Default Value      | This is the default value for the data object when it has not been set with a value.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | Text                                                             | Optional                      |
| Prefill Value      | This is the value that will be filled in the control when no value has been set to the data object. Note: Prefill is different from default in the sense that the value will not be set to the data object, only shown on the control as a prefill. Hence the form must be submitted with this value before it is stored to the data object.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Text                                                             | Optional                      |
| Weight             | This is used in the special case of weighting inputs in an assessment, using the LogicNets Assessment Framework.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Number                                                           | Optional                      |
| Mode               | <p>Defaults to <em>Editable</em>.<br>Both of the other options show a non-editable field on screen but with the following differences:<br>- Read Only: any value assigned to this variable (e,g, via a process step or default value) will be stored in the log and will continue to show on screen and impact any downstream logic on click. Use this for inputs that are not set by the user, but should be displayed along with user-defined inputs<br>- Disabled: any value assigned to this part is not stored in the log. As a consequence, it will only show if the upstream logic continues to set the variable. Use this to maintain form look and feel when the input is not always required<br>Note that the browser will by default display the read only input as per an editable input, and the disabled part will show "greyed out". These effects can be cancelled/overridden by custom CSS settings as necessary.</p>                                                                                                                                                                                                                                                                                                                                                             | Dropdown                                                         | Optional                      |
| Data object type   | <p>- <em>text</em>: The user input will be written as a text string in the context.<br>- <em>number</em>: The user input will be written as a <em>number</em> value in the context. A <em>nil</em> value is written into the context when the user fills a non-number value.<br>Note: Older versions of LogicNets also use <em>numeric</em> but the <em>numeric</em> type is depreciated and is replaced by <em>number</em>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Text \| Number                                                   | Mandatory                     |
| Unit               | Numeric Form Type Only. This field is visible for numeric input form types and it allows you to set the unit of measure to apply to the numeric field. For more information about setting unified code for units of measure, see [this topic](/release-9/platform-documentation/form-node-parts/unified-code-for-units-of-measure-ucum.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Text                                                             | Optional                      |
| Submit on leave    | In Assessment Framework applications, the text entered will be auto-submitted when the user leaves this input box to answer another question when this box is checked.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Checkbox                                                         | On \| Off                     |
| Input type         | <p>This is the type of input control rendered in the browser. See <a href="http://www.w3schools.com/html/html_form_input_types.asp">w3schools.com</a> for more information on how input types work in HTML.<br>- <em>text</em>: The user can enter any characters.<br>- <em>number</em>: The user can only enter numeric characters.<br>- <em>password</em>: The user can enter any characters. The system masks the characters for privacy unless the Designer user checks the <em>Allow show/hide password</em> checkbox.<br>- <em>formatted number</em>: The user can display a numeric input with various styled components such as thousand separators, parentheses for negatives, etc.<br>- <em>formatted text:</em> (LogicNets Release 7.4 on) The user can display a text input with additional styled elements, such as prefix, postfix.<br>Depending on the input type selected, one or more of the options below are revealed in the part editor.</p>                                                                                                                                                                                                                                                                                                                                   | Text \| Number \| Password \| Formatted Number \| Formatted Text | Mandatory                     |
| HTML enabled       | If you check this checkbox, end-users can format the comment using HTML.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Yes \| No                                                        | Optional                      |
| Speech command     | If speech recognition is enabled, this is the alternative caption the system will recognize to select or answer this field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Text                                                             | Optional                      |

### Numeric Input Type Options

| Field Name                       | Description/Use                                                                                                                                                                                                                                                                                                                                                                                           | Type/Options              | Optional/Mandatory |
| -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ------------------ |
| Prefix                           | <p>Text rendered typically before the input control. This can be used to print a currency symbol, for example. The field will also accept interpolated text, e.g. <em>$(currency\_symbol)</em>.<br>Prefix can contain HTML elements in LogicNets Release 7.4 on by checking the <em>HTML-enabled</em> box.</p>                                                                                            | Text                      | Optional           |
| Postfix                          | <p>Text rendered typically after the input control. This can be used to print the unit. The field will also accept interpolated text, e.g. <em>$(currency\_symbol)</em>.<br>Postfix can contain HTML elements in LogicNets Release 7.4 on by checking the <em>HTML-enabled</em> box.</p>                                                                                                                  | Text                      | Optional           |
| Max chars                        | This is the maximum number of characters allowed in the field. The browser enforces this limit.                                                                                                                                                                                                                                                                                                           | Number                    | Optional           |
| Trim spaces                      | This field allows you to remove the spaces from both ends of the input value. The default value is *No*.                                                                                                                                                                                                                                                                                                  | Yes \| No                 | Optional           |
| Allow show/hide password         | In LogicNets version 7.4.2 and higher, if the input type field is set to *password* the system shows this checkbox . If this checkbox is checked, the system will allow the application user to show or hide the password characters as they enter them.                                                                                                                                                  | Checkbox                  | Optional           |
| Decimals                         | <p>This field allows you to set the number of places after decimal.<br>- If the Input type is <em>number</em> then this field is shown as a dropdown with predefined options.<br>- If the input type is <em>formatted number</em> then this is shown as a user input field.</p>                                                                                                                           | Options \| Number         | Optional           |
| Round/Truncate                   | <p>If the field is set to receive numbers, choosing <em>Round</em> allows you to define to how many places the system will round the value the user enters in the Decimals input that appears when this option is selected.<br>Choosing <em>Truncate</em> directs the part to cut off any decimal places beyond the number specified in the Decimals input that appears when this option is selected.</p> | None \| Round \| Truncate | Optional           |
| Step size                        | Browsers can introduce up/down widgets associated with numeric inputs. This numeric parameter indicates the step value. E.g. a step size of 10 means the browser widget will increment through 10, 20, 30, etc. Note the user's input is NOT validated against this set of values - they can still edit the browser suggested value to any number of their choosing                                       | Number                    | Optional           |
| Decimal                          | This field allows you to select which decimal character -- dot or comma -- is accepted and shown to the user. In the application context, a number value is always stored with a dot.                                                                                                                                                                                                                     | Dot \| Comma              | Optional           |
| Digits                           | This field allows you to specify the maximum number of digits entered.                                                                                                                                                                                                                                                                                                                                    | Number                    | Optional           |
| Brackets around negative numbers | Choosing YES will display negative numbers in parentheses, e.g. -10 will be displayed as (10). Note that this is display formatting only. The value held in the data object will not include the parentheses.                                                                                                                                                                                             | Yes \| No                 | Optional           |
| Decimal Separator                | In formatted numbers, you can choose to display the separator between integers and decimals as a dot or a comma                                                                                                                                                                                                                                                                                           | Dot \| Comma              | Mandatory          |
| Thousands Separator              | In formatted numbers, you can choose to display thousands separators as a comma (1,234,567) or dot (1.234.567) or none (1234567)                                                                                                                                                                                                                                                                          | None \| Dot \| Comma      | Mandatory          |

#### Input Type Combinations

See the table below for a chart showing which part options appear with which "input type". Deprecated options have been superseded by better functionality, and are no longer available in LogicNets Release 7.4

![](https://2802811211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdFhfexCjZ5JMhwGzzywq%2Fuploads%2Fgit-blob-f5f426e62f6de9f5a4734ef460263d1adbb3d9d1%2F4664e63b-22d4-45d6-ba87-d827a9674494.jpg?alt=media)

### Style Tab Options

| Field Name       | Description/Use                                                                                                                                                | Type/Options | Optional/Mandatory |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------ |
| Style class      | This is the field where you can define the CSS style class the system applies to the input control.                                                            | Text         | Optional           |
| Element template | This field contains the name of the part template assigned to this part type. See part templates for more information.                                         | Data Object  | Optional           |
| Disabled         | <p>- <em>no</em>: The user is able to enter/change the value of the field.<br>- <em>yes</em>: The user is not able to enter/change the value of the field.</p> | Yes \| No    | Optional           |

### Validate Tab Options

| Field Name | Description/Use                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | Type/Options | Optional/Mandatory |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ | ------------------ |
| Type       | <p>You can set validation checking on the field. If the user enters data (or fails to enter data) that violates the validation, the system will trigger a validation error.<br>- <em>mandatory</em>: If the validation is set to mandatory the user must enter a value in the field.<br>- <em>numeric</em>, <em>percentage</em>, <em>currency</em>: If the validation is set to one of these the user must enter a number in the field. The user's entry can contain a comma or dot as a decimal character. This validation rule can be used when the data object type is set to <em>text</em>. This combination allows the user to enter a decimal number and use either a comma or a period.<br>- <em>time</em>: Time validation input must be entered in the form of a string: hh:mm or hhmm. 12:14 and 1214 are both allowed.<br>- <em>custom</em>: You can set a custom validation option. See below for more information.<br>- <em>email</em>: To pass the validation check the user must enter a value that includes @.<br>- <em>date</em>: The input must be a date string: mm/dd/yy.<br>- <em>minimum value</em>: (For numeric inputs) This type allows you to configure a minimum value the user must fill in. Use the format and fill in the number. The validation only triggers when you specify a value is specified. See <a href="/release-9/example-gallery/example-projects-for-parts/minmax-validation-options-example-project.md">Min/Max Validation Options Example Project</a> for an example. (v8.1)<br>- <em>maximum value</em>: (For numeric inputs) This type allows you to configure a maximum value the user must fill in. Use the <em>Condition</em> format and fill in the number. The validation only triggers when you specify a value is specified. See <a href="/release-9/example-gallery/example-projects-for-parts/minmax-validation-options-example-project.md">Min/Max Validation Options Example Project</a> for an example. (v8.1)<br>- <em>custom warning</em>: You can assign a CSS style class for the validation. If, for example, the user's entry does not pass the validation checks the system could change the appearance of the input field by turning the background yellow.<br>- <em>custom popup</em>: If the user's entry does not meet the validation criteria the system will launch a logicnet in a popup window.<br>For more information on validation syntax, go to the <em>Setting Conditions</em> article <a href="/release-9/platform-documentation/other-help-articles/setting-conditions-data-validation.md">here</a>.</p> | Options      | Optional           |
| Condition  | This field is only required when type equals *custom*, *minimum value*, *maximum value*, *custom warning*, or *custom popup*.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | Text         | Optional           |
| Message    | <p>- <em>Custom</em>: This is the message the system shows the user when a validation rule is violated. The system only displays the message for the first violated rule.<br>- <em>minimum value</em>: This is the message the system shows the user when the selected value is less than the configured minimum value. If a message is available, the system triggers a validation error and shows the message. If there is no message the system triggers a validation warning.<br>- <em>maximum value</em>: This is the message the system shows the user when the selected value is more than the configured maximum value. If a message is available, the system triggers a validation error. If there is no message the system triggers a validation warning.<br>- <em>Custom popup</em>: This is the name of the logicnet the system should launch in the popup.<br>- <em>Custom warning</em>: This field can be left empty.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Text         | Optional           |
| Style      | This is only required when type=*custom warning*. It is the name of the style class that controls the text input.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | Text         | Optional           |

### Autocomplete Tab Options

| Field Name                                                      | Description/Use                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Type/Options                    | Optional/Mandatory |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | ------------------ | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | - | ----------------------------- | ---- | -------- |
| Mode                                                            | <p>- <em>none</em>: Auto-complete functionality is disabled.<br>- <em>collection</em>: Auto-complete functionality is enabled and using a collection located in the application context as input for the autocomplete list.<br>NOTES:<br>- the data object that stores the user selection must be different to the collection itself.<br>- Any new value entered is not stored back to the collection (for ASF applications, this could be done in the save/submit logicnets that run on exit)<br>- <em>resources</em>: Auto-complete functionality is enabled and using a database table as input for the autocomplete list.<br>NOTE:<br>- the feature will look for and read records from the published resource table, not the table as shown in the Designer</p> | None \| Collection \| Resources | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Search SQL                                                      | <p>The SQL query used to search the database table for items that match the typed in text. The query must contain <em>:val</em>. E.g. SELECT \* FROM sample WHERE caption like '%'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                 | <em>:val</em>      |   | '%' (where the table is named 'sample' and the 'caption' column stores the value that must be searched.<br>The items from the result set of the SQL query will be added to the auto-complete list. The caption of the item in the auto-complete list is specified by the “caption column” parameter.<br>The execution of the query ‘val’ will be replaced by the typed in text.<br>If the database table search field text contains apostrophes, use :valquoted instead of :val<br>(For MS SQL databases, the |   | must be replaced with +).</p> | Text | Optional |
| Database                                                        | The name of the database alias that is used to run the Search SQL query on. If left empty the current application database is used.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Text                            | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Collection                                                      | This is the data object holding the collection for populating the entries in the auto-complete list. This collection can be a collection of strings, numbers, or a collection of complex values.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Data Object                     | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Collection type                                                 | <p>This is the type of the collection. Select ‘table’ if the collection contains items that are complex values; for example:<br><code>collection = {</code><br><code>{</code><br><code>country = “United States”</code><br><code>search\_names = “United States, USA, 0001”</code><br><code>},</code><br><code>{</code><br><code>country = “Netherlands”</code><br><code>search\_names = “Netherlands, NL, 0031”</code><br><code>},</code><br><code>{</code><br><code>country = “Germany”</code><br><code>search\_names = “Germany, DE, 0049”</code><br><code>}</code><br><code>}</code><br>Select array if the collection is just a collection of strings/numbers; for example:<br><code>collection = { “one”, “two”, “three” }.</code></p>                         | Table \| Array                  | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Caption column                                                  | <p>This field specifies which field of the items in the collection/result set of the SQL query the system should use as the caption for the items in the auto-complete list.<br>When the caption column parameter is not specified, the system will compose a caption of the concatenation of all fields, with exception of the key-column field, of the item.<br>In collection mode, the system will also use the caption for matching the items in the collection with the typed in text. And only the matching items will be added to the auto-complete list.<br>In collection mode, this option is not available if the collection is of the type ‘array’.</p>                                                                                                   | Data Object                     | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Key column                                                      | In collection mode, this option is not available if the collection is of the type ‘array’.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Text                            | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Select key column value (only when the Key column is filled in) | <p>When this checkbox is checked the system will select the value of the key-column field of the selected item from the autocomplete list as the text input instead of the caption itself. You can use this option to select another value in the text input than what is shown in the auto-complete list.<br>This parameter is only available when the key-column field is specified.</p>                                                                                                                                                                                                                                                                                                                                                                           | Checkbox                        | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Auto Complete as dropdown                                       | The parameter specifies whether the text input should exhibit similar behavior as a dropdown box. In dropdown mode, the input will only allow text that is selectable from the auto-complete list. If the user types in text that is not in the auto-complete list, the system will restore the last known good value after submit.                                                                                                                                                                                                                                                                                                                                                                                                                                  | Yes \| No                       | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |
| Javascript                                                      | This is JavaScript executed in the browser when the user selects an option from the auto-complete dropdown list.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Text                            | Optional           |   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |   |                               |      |          |

### Advanced Tab Options

| Field Name       | Description/Use                                                                                                                                                                                                                                                                                                                                                                                              | Type/Options | Optional/Mandatory |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ | ------------------ |
| Captions         | This allows you to specify different captions based on rules. The system only displays one caption, the last caption in the table the rule determines to be true. If there is no rule the system determines to be true, the system uses the 'standard' caption. For an example, see [Multi-Caption Example Project](/release-9/example-gallery/example-projects-for-parts/multi-caption-example-project.md). | Text         | Optional           |
| Disable logging  | If this is checked, the system will not add the item to the data\_log.                                                                                                                                                                                                                                                                                                                                       | Checkbox     | Optional           |
| Disable escaping | If this is checked the system will not escape the HTML.                                                                                                                                                                                                                                                                                                                                                      | Checkbox     | Optional           |

### Configuration Options

| Configuration                      | Description                                                                 |
| ---------------------------------- | --------------------------------------------------------------------------- |
| \_context.quick\_designer\_support | If this is set to 1 the FHIR QUICK parameters are editable in the Designer. |

## Example

Please check back for a comprehensive text input part example project, which shows several use cases of the text input feature.

For an example of text masking, see the [Text Input Masking](/release-9/example-gallery/example-projects-for-parts/text-input-masking.md) example.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://community-test.logicnets.com/release-9/platform-documentation/form-node-parts/text-input-numeric-input.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
