# Get Column Number of Input Text

This is pre-built Action located under the Table captured from the AUT Element Name, instructs Avo Assure to fetch the input text's column number in the grid and save the result in the dynamic variable.

### Syntax

**Input Value:** `<text>;<header/body>(optional);<left/right>(optional);<col_attr>(optional)`&#x20;

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>&#x3C;text><br>(Required)</td><td>Specifies the input text to search for within the table/Grid</td><td></td></tr><tr><td><p>&#x3C;header/body></p><p>(Optional)</p></td><td>Specifies whether the search should be performed in the table header or body.</td><td></td></tr><tr><td><p>&#x3C;left/right></p><p>(Optional)</p></td><td>Indicates the direction in which to search for the text.</td><td></td></tr><tr><td>&#x3C;col_attr><br>(Optional)</td><td>Additional column attribute to help narrow down the column match.</td><td></td></tr></tbody></table>

**Output Value**

| Argument                                 | Description                                              |
| ---------------------------------------- | -------------------------------------------------------- |
| <p>\<Dynamic Variable><br>(Required)</p> | This variable stores the column number                   |
| <p>\<Dynamic Variable><br>(Optional)</p> | This variable stores the status as **true** or **false** |

**Example**&#x20;

**Identifies the column number containing a specified input text**\
\
The **Get Column Number of Input Text** action locates the column in a table that contains the specified text using the input value format (e.g., **Loan Type;header**). In this case, **Loan Type** is the text to search, and **header** defines the section of the table to look into.  The resulting column number is stored in the **{ColumnNo}** variable, while the execution status is stored in the **{Status}** variable, with the following possible values:

* **True** –  if the column is found successfully.
* **False** – if the column is not found or an error occurs.

<figure><img src="/files/YQmoC08fTdS1YM669UwB" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/iUkw0poM8cBxLCITuXI4" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/grid/get-column-number-of-input-text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
