You are here

function farm_plan_form_validate in farmOS 7

Plan validate handler.

Parameters

array $form: The form array.

array $form_state: The form state array.

File

modules/farm/farm_plan/farm_plan.pages.inc, line 175
Farm plan pages.

Code

function farm_plan_form_validate(array $form, array &$form_state) {
  $farm_plan = (object) $form_state['values']['farm_plan'];
  field_attach_form_validate('farm_plan', $farm_plan, $form, $form_state);
}