You are here

function masked_input_field_widget_error in Masked Input 7.2

Implements hook_field_widget_error().

File

./masked_input.module, line 169
Provides a form element, Field widget, and simple API for using the Masked Input jQuery plugin.

Code

function masked_input_field_widget_error($element, $error, $form, &$form_state) {
  form_error($element['value'], $error['message']);
}