# FormFieldDialog Method

> Opens the built-in dialog box for the attributes of a checkbox, combobox, form text or date field; returns True if the user changed attributes and chose OK.

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

---

This method opens a built-in dialog box to set formatting attributes for the specified form field.

Introduced: 31.0.

### Syntax

```vbscript
TXTextControl.FormFieldDialog FieldId
```

### Parameters

| Parameter | Description |
|---|---|
| FieldId | Specifies the identifier of the marked text field for which attributes are changed. It must be a field of the type **txFieldCheckBox**, **txFieldComboBox**, **txFieldFormText** or **txFieldDate**. The field type can be set with the [FieldType](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldtype-property/llms-full.txt) property. |

### Return Value

The method returns True when the user has changed one or more attributes and the dialog box has been left with Ok. The method returns False when the dialog has been left with Cancel.

### Data Types

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

### See Also

- [Programming Category: Form Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/form-fields/llms-full.txt)
- [Programming Category: Built-in Dialog Boxes](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/dialog-boxes/llms-full.txt)

---

## Nearby

- **Previous:** [FormFieldDateFormats Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfielddateformats-property/llms-full.txt)
- **Next:** [FormFieldEmptyWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formfieldemptywidth-property/llms-full.txt)
