Prop Week Form
# Input Week form Property
[ Input Week Object](#)
## Example
Returns the id of the form containing the element:
```javascript
var x = document.getElementById("myWeek").form.id;
The output of _x_ is:
myForm
[Try it Β»](#)
* * *
## Definition and Usage
The form property returns a reference to the form that contains the week 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 and Firefox do not support the element.
* * *
## Syntax
_weekObject_.form
## Technical Details
| Return Value: | A reference to the form element containing the week field. Returns null if the week field is not in a form. |
| --- |
* * Input Week Object](#)
YouTip