public function setForm(Form $form)
	{
		$this->form = $form;
		$this->formControl = $form->getFormControl();

		return $this;
	}
public function setForm(Form $form)
	{
		$this->form = $form;
		$this->formControl = $form->getFormControl();

		return $this;
	}
public function setForm ( Form $ form ) { $ this -> form = $ form ; $ this -> formControl = $ form -> getFormControl ( ) ; return $ this ; }
Method to attach a Form object to the field.

@param   object  $form  The Form object to attach to the form field.
@return  object  The form field object so that the method can be used in a chain.
Method to attach a Form object to the field .