# FormCheckBoxInsert Method

> Inserts a checkbox form field at the input position, checked or unchecked, with optional Unicode checked and unchecked characters (default &H2612, &H2610).

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

---

This method inserts a checkbox field into the document at the current text input position.

Introduced: 28.0.

### Syntax

```vbscript
TXTextControl.FormCheckBoxInsert IsChecked [, CheckedChar [, UncheckedChar]]
```

### Parameters

| Parameter | Description |
|---|---|
| IsChecked | Specifies whether the checkbox is initially checked. |
| CheckedChar | Optional. Specifies the character code of the checked symbol. This value must be the code of a character in the Unicode character set. If this parameter is omitted, the default character &H2612 is used. |
| UncheckedChar | Optional. Specifies the character code of the unchecked symbol. This value must be the code of a character in the Unicode character set. If this parameter is omitted, the default character &H2610 is used. |

### Return Value

The method returns True if the checkbox field could be inserted, otherwise it returns False.

### Data Types

| Name | Data type |
|---|---|
| IsChecked | Boolean |
| CheckedChar | Integer |
| UncheckedChar | Integer |
| Return value | Boolean |

### Remarks

Inserting a form field changes the value of the [FieldCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcurrent-property/llms-full.txt) property to the identifier of the newly created field.

### See Also

- [FormComboBoxInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcomboboxinsert-method/llms-full.txt)
- [FormDateFieldInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdatefieldinsert-method/llms-full.txt)
- [FormDropDownListInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formdropdownlistinsert-method/llms-full.txt)
- [FormTextFieldInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formtextfieldinsert-method/llms-full.txt)
- [Programming Category: Form Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/form-fields/llms-full.txt)

---

## Nearby

- **Previous:** [FormatSelection Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/llms-full.txt)
- **Next:** [FormCheckStateChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckstatechanged-event/llms-full.txt)
