> For the complete documentation index, see [llms.txt](https://redd.gitbook.io/react-advanced-form/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://redd.gitbook.io/react-advanced-form/components/form/props/inner-ref.md).

# innerRef

## Specification

A getter function for the actual `form` HTML element rendered by the `Form` component.

## Example

```jsx
import React from 'react'
import { Form } from 'react-advanced-form'

export default class Example extends React.Component {
  componentDidMount() {
    this.formElement // HTMLElement
  }

  render() {
    return (
      <Form innerRef={element => this.formElement = element} />
    )
  }
}
```

{% hint style="info" %}
Read more on how to reference components and elements under [Referencing](/react-advanced-form/architecture/referencing.md#inner-reference).
{% endhint %}
