# FieldSetInputPos Method

> Defines whether a doubled input position at the start or end of a marked text field is inside or outside it: txInsideField, txOutsideField, txInsideNextField.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > FieldSetInputPos Method
- **361 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldsetinputpos-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldsetinputpos-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldsetinputpos-method/llms-full.txt

---

If the current text input position is a position at the beginning or at the end of a marked text field with a doubled input position, this method can be used to define whether the position is inside or outside the field. The input position's character position is not changed.

Introduced: 13.0.

### Syntax

```vbscript
TXTextControl.FieldSetInputPos FieldInputPosition
```

### Parameters

| Parameter | Description |
|---|---|
| FieldInputPosition | Specifies the position. It can be one of the following Constants: |

#### FieldInputPosition

| Value | Description |
|---|---|
| txInsideField | The current input position is inside the field. |
| txOutsideField | The current input position is outside the field. |
| txInsideNextField | The specified position is inside the next field. This value is only possible, if there are two following fields without any character between the fields. In this case **txInsideField** is in the first field, **txOutsideField** is between the fields and **txInsideNextField** is in the second field. |

### Return Value

The return value is non-zero if the input position has been changed. It is zero if the current input position is not at the beginning or at the end of a field or if the field has no doubled input position.

### Data Types

| Name | Data type |
|---|---|
| FieldInputPosition | Integer |
| Return value | Boolean |

### See Also

- [Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/llms-full.txt)
- [Programming Category: Text Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/text-fields/llms-full.txt)

---

## Nearby

- **Previous:** [FieldSetCursor Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldsetcursor-event/llms-full.txt)
- **Next:** [FieldStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldstart-property/llms-full.txt)
