You are here

function mvf_field_widget_unit_options_validate in Measured Value Field 7

Element validate function.

Clean up after the mess left by options module element validate function for unit subfield of MVF.

1 string reference to 'mvf_field_widget_unit_options_validate'
_mvf_widget_process in ./mvf.module
Process function for form element type 'mvf_widget'.

File

./mvf.module, line 1786
Define a field type of measured value.

Code

function mvf_field_widget_unit_options_validate($element, &$form_state) {
  form_set_value($element, $element['#value'], $form_state);
}