Prop Email Form
# Input Email form Property
[ Input Email Object](#)
## Example
Return the id of the form that contains the element:
```javascript
var x = document.getElementById("myEmail").form.id;
The _x_ output is:
myForm
[Try it Yourself Β»](#)
* * *
## Definition and Usage
The form property returns a reference to the form that contains the email field.
On success, this property returns a form object.
**Note:** This property is read-only.
* * *
## Browser Support

The form property is supported by all major browsers.
**Note:** Internet Explorer 9 (and earlier IE versions), or Safari browsers do not support the HTML element with type="email".
* * *
## Syntax
_emailObject_.form
## Technical Details
| Return Value: | A reference to the form element that contains the email field. Returns null if the email field is not in a form. |
| --- |
* * Input Email Object](#)
YouTip