You are here

public function HostingForm::addValidateHandler in Aegir Objects 7.3

Register a form validate handler.

File

classes/HostingForm.inc, line 90
The HostingForm class.

Class

HostingForm
@file The HostingForm class.

Code

public function addValidateHandler($callback) {
  $this->form['#validate'][] = $callback;
}