> For the complete documentation index, see [llms.txt](https://docs.acpt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acpt.io/developers/functions/get_acpt_form_object.md).

# get\_acpt\_form\_object

Get a form object representation

Get a form object representation.

### Usage

```php
$form = get_acpt_form_object('form-name');
```

### Parameters

| Parameter   | Type   | Required | Description          |
| ----------- | ------ | -------- | -------------------- |
| `form_name` | string | Required | The form name (slug) |

### Return

| Type        | Description                                                                                  |
| ----------- | -------------------------------------------------------------------------------------------- |
| `\stdClass` | An object representing the form, including its key, action, label, fields, and meta bindings |
| `null`      | If no form with the given name exists                                                        |
